Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 527 Bytes

README.md

File metadata and controls

4 lines (4 loc) · 527 Bytes

Text File Compression

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.

About Huffman Algorithm :-

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.