[Community Puzzle] Huffman Code


Send your feedback or ask for help here!

Created by @Crypticsy,validated by @chouch,@Apfeloxid and @Gorbit99.
If you have any issues, feel free to ping them.

The expected response for test case #2 does not follow from the problem statement.
(IMHO best to just remove it, it doesn’t bring anything to the puzzle)

1 Like

You are right, but if you remove it, then you can simply copy-paste your solution to the Add’em up problem because that’s the only difference. So I would recommend to slightly clarify the statement instead.

…or remove the puzzle.