Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 413 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 413 Bytes

Huffman_file_compression

Huffman coding

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.