Amazon interview question

Implement Huffman coding (with help from the interviewer)