18.200 | Spring 2024 | Undergraduate

Principles of Discrete Applied Mathematics

Lecture 17: Huffman Coding

We review Shannon’s noiseless coding theorem. We define prefix free codes and show that they can be efficiently decoded by using a binary tree. We then give Huffman’s algorithm for finding the optimal prefix free code.

Course Info

Spring 2024
Editable Files
Lecture Notes
Lecture Videos
Problem Sets