I had no idea about Huffman Algorithm until today. I am glad that I came across this problem while solving Tree problems on HackerRank. The concept is easy. Every time we need to start with the root and go the right if string at given position is right or else left in the same way.
You should try it too if you haven't yet.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)