Reputation: 3
Please help me and explain the algorithm to decode Huffman encoded Text. (Explain it in just English)
Thanks and Regards, Larry
Upvotes: 0
Views: 196
Reputation: 71
To decode a Huffman Encoded text you would want to use a Huffman tree. The data has been binary encoded so we will go from there.
In essence: 0 = left node, 1 = right node, for each leaf you return that character. You do this from the top to the bottom. I hope this helps!
Upvotes: 1