Huffman Code
// June 24th, 2009 // No Comments » // open source, programming
So this is another little assignment that we had just before final exams. It’s about Huffman code and its application in file compression. We were supposed to write a program to read a file, determine total bits for that file, then use Huffman code to compress it and calculate the total bits after the compression. TheĀ file should only contain alphanumeric characters [A-Za-z0-9], and maybe spaces, new lines and dots and commas.
(more…)


