Back to Cosmos

Huffman Encoding

code/cryptography/src/huffman_encoding/README.md

latest644 B
Original Source

Huffman Encoding

Huffman Encoding is a famous greedy algorithm that is used for the loseless compression of file/data. It uses variable length encoding where variable length codes are assigned to all the characters depending on how frequently they occur in the given text. The character which occurs most frequently gets the smallest code and the character which occurs least frequently gets the largest code.

Sources and more detailed information:


<p align="center"> A massive collaborative effort by <a href="https://github.com/OpenGenus/cosmos">OpenGenus Foundation</a> </p>