| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is Huffman encoding and decoding algorithm built in python.
Short description: A Huffman code is a type of optimal prefix code that is used for compressing data. The Huffman encoding and decoding schema is also lossless, meaning that when compressing the data to make it smaller, there is no loss of information. The Huffman algorithm works by assigning codes that correspond to the relative frequency of each character for each character. The Huffman code can be of any length and does not require a prefix; therefore, this binary code can be visualized on a binary tree with each encoded character being stored on leafs.
There are many different types of pseudocode for this tree, but at its basic core, 3 things have to be made:
This is my pseudocode for following project:
Note: In the repository I've got 6 files:
Tjaž Eržen
Here's a few resources to get deeper understanding of this compression algorithm:
| Back | FazBrowse Home | New Git URL |