CodingTrain / Suggestion-Box

A repo to track ideas for topics
571 stars 86 forks source link

Coding Challenge: Huffman Code #1116

Open tobre1 opened 5 years ago

tobre1 commented 5 years ago

I would like to suggest a coding challenge, where you try to decode a text into Huffman Code. I know, its the most creative process, but I think it would be interesting to come up with an algorithm that does this. I have been trying it now for a few days, but I'm still not quite sure what is the best way to do it. I'm sure you will come up with a better idea than me.

ritobanrc commented 5 years ago

There's a detailed pseudocode of this on wikipedia. Maybe try implementing that?