Lecture 16

Learning objectives

After this class, you should be able to:

  1. Given a set of characters and their frequencies, construct a Huffman tree and determine the Huffman code for each character.
  2. Prove the correctness of the Huffman code construction algorithm.

Reading assignment

  1. CLR: Section 16.3.
  2. Read article cited at: www.ncbi.nlm.nih.gov/pubmed/9344740 on improving the efficiency of genetic code through Huffman coding.

Exercises and review questions


Last modified: 20 Oct 2015