DEV Community

Mahima Singh
Mahima Singh

Posted on

#Day 10: Huffman Alogrithm

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.

Top comments (0)