An open API service indexing awesome lists of open source software.

https://github.com/hxndev/huffman-encoding-using-binary-trees

The idea behind Huffman coding is based upon the frequency of a symbol in a sequence. The symbol that is the most frequent in that sequence gets a new code that is very small, the least frequent symbol will get a code that is very long, so that when we’ll translate the input we want to encode the most frequent symbols will take less space than they used to and the least frequent symbols will take more space but because they’re less frequent it won’t matter that much.
https://github.com/hxndev/huffman-encoding-using-binary-trees

algorithm binary-search-tree binary-tree compression compression-algorithm cpp decryption encoding encryption huffman vecctor visual-studio

Last synced: 7 months ago
JSON representation

The idea behind Huffman coding is based upon the frequency of a symbol in a sequence. The symbol that is the most frequent in that sequence gets a new code that is very small, the least frequent symbol will get a code that is very long, so that when we’ll translate the input we want to encode the most frequent symbols will take less space than they used to and the least frequent symbols will take more space but because they’re less frequent it won’t matter that much.

Awesome Lists containing this project