Jump to content

CS Huffman coding


KayS

Recommended Posts

I previously posted this in the Computer science section however, as the admin said its more relevant to this post.

 

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.

I have chosen A as the answer am I correct or is this wrong?

 

2j34pkn.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

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.