Pages

Thursday, 14 June 2012

CS301 Assignment no 4 Spring 2012 Idea Solution



Suppose you are given a string You will receive this message in two days, Use Huffman Encoding algorithm to create a binary tree with this string.


Solution Guidelines:

In step 1, You have to create a frequency table of characters along with their frequencies.

In step 2: You have to create Binary Tree from letters and their frequencies created in step 1.