closed by
1,273 views
0 votes
0 votes
closed with the note: -

in Huffman Code, we get extract the minimum at each time, but my minimum is creating duplicate, then which one i choose?

i am getting the same avg.no.of bits for every Huffman tree, but the problem is my tree is changing therefore representing the character also changed, if some one asks convert the message using Huffman, then ambiguity comes.

ex :- frequencies of A,B,C,D,E,F,G and H are $\frac{1}{30},\frac{1}{30},\frac{1}{30},\frac{2}{30},\frac{3}{30},\frac{5}{30},\frac{5}{30}$ and $\frac{12}{30} $

closed by

Related questions

1 votes
1 votes
1 answer
1
amrit22 asked Sep 24, 2023
679 views
consider the following message BCCABBDDAECCBBAEDDCC find the no of bits requiered for huffman encoding of above message