A minimal huffman compression program using C++ to compress and store the compressed file in .huf formate and then decompress .huf file into .txt files.
Huffman coding is a lossless data compression algorithm. The idea is to assign variable-length codes to input characters, lengths of the assigned codes are based on the frequencies of corresponding characters. The most frequent character gets the smallest code and the least frequent character gets the largest code.