CDAP Interview Question

Huffman encoding (greedy)