Question: Write a JAVA program to implement Huffman coding and decoding. It should do the following. Accept a text message. Create a huffman tree for
Accept a text message. Create a huffman tree for this message Create a code table Encode the message into binary Decode the message from binary back to text.
You can use String variables to store binary numbers. Don't worry about the actual bit manipulation. You can use standard binary trees and priority Queue's. Please do not use in-built data structures.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
