Please help me and explain the algorithm to decode Huffman encoded Text. (Explain it in just English)
Thanks and Regards, Larry
Please help me and explain the algorithm to decode Huffman encoded Text. (Explain it in just English)
Thanks and Regards, Larry
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!