Huffman coding is one of the earliest and best-know methods of text compression. It uses the principle that the common symbols are coded in just a few bits, while rare ones have longer code words.
Check out the blog post on huffman coding to understand the principles and methods that we already discussed.
Try to encode and decode data using the application developed in javascript given below. And you can download the javascript code.
No comments:
Post a Comment