Question: write a program in java that reads a text file of alphabetic data, creates a Huffman tree, and uses the tree to compress the file.
write a program in java that reads a text file of alphabetic data, creates a Huffman tree, and uses the tree to compress the file. Your program should then take the compressed file and, using your tree, decode it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
