Skip to content

Repository files navigation

Data Compression using Huffman Coding

Compresses the any file into a binary string using Huffman Coding.

It Decodes the encoded binary string in the file into actual string.

Compresses any type of file.
Takes care of wrongly encoded files and empty files.
Interactive through out the process.

Example:

string : "tattarrattat"

Encoded String : "011001110101100110"

huffman_tree: (t,(r,a))

Encoded String : "011001110101100110"

Map: {'t' : 0, 'a' : 11, 'r' : 10}

Decoded String : "tattarrattat"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages