Homework Help

write and explain the algorithm for finding huffman codes. Prove that huffman codes are optimal prefix-free binary codes