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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more