Sunday, January 15, 2012

Huffman Coding Algorithm

Disucss Huffman coding algorithm and write a C code for this.

Lets assume that after scanning a file we found the following character frequencies

a---12
b---2
c---7
d---13
e---14
f---85

Apply Huffman coding to save space in storing the above characters efficiently.

No comments:

Post a Comment