Q1. Huffman 2
Consider the following message: aabbbbabccdddccccbbdd
If Huffman tree is coded as left child with ‘0’ and right child with ‘1’ from every node then what is the decoded message for 110100?
abc
bcd
acb
bda
freq of a-3 b-7 c-6 d-5, so we should code
b - 0
c - 10
d - 110
a -1110
therefore 110100 should be decoded as “dcb”. but given answer is “bda” how??