Jump to content

Huffman coding

Featured Replies

I appreciate that there may be some visually impaired users. But, this question has diagrams and I found no possible way to display the question. Therefore, I have given a link to the question so I don't offend anyone and whoever can help me go through the question I would appreciate it if you could have a look at the question.

http://tinypic.com/r/2livns7/8(I have also attached the file, sorry but I just couldnt draw the diagrams but any quesiton that can b written i will.)

The question is regarding Huffman coding, The answer I chose Was A because according to huffman coding you have to sort the frequency by lowest to highest and then take the two lowest out as leaves at the bottom of the tree and start with the highest frequency at top, the one that resembles this description is A, as H & N have the lowest in frequency.

Please let me know what you think.

post-87420-0-32136500-1405532447_thumb.png

  • 2 weeks later...

Intuitively, it's A.

Because of the reason you gave, which is to say that the other three trees include non-minimal code.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.