The code is to implement huffmans algorithm for compressing Strings, but that is all that is on the exam paper
Type: Posts; User: Chewybakas
The code is to implement huffmans algorithm for compressing Strings, but that is all that is on the exam paper
Its an exam question which I have no idea how to approach! For example if the user inputs the string "The" the program will output 1010100 1101000 1100101
and 'T' appeared 1 time 'e' appeared 1...
I have been staring at this previous years exam question for hours now and I just can't get it working correctly. If anyone can help it would be greatly appreciated as I have an exam on Friday!
...