huffmancoding
Using a Huffman Tree to encode and decode a text file.
HOW TO RUN
Section titled “HOW TO RUN”- Compile HuffmanDemo.java (javac HuffmanDemo.java), thus compiling all neccessary files aswell.
- Run HuffmanDemo (java Huffman)
- Input the file name of the message you want to encode followed by “Encoded.txt” and “Huffman.txt”.