Simple Huffman implementation, read a file, and then Huffman coding
no vote
Recently, I tried Huffman coding, and searched a lot, but the online ones are either problematic or not easy to use. Therefore, I simply implemented a Huffman coding program, which can read data from a file, build a Huffman tree, encode each character, and then encode the data in the file, and generate a new file. Of course, it is the implementation of static Huffman coding.