Amazon interview question

The process of Huffman Coding