Algorithm Science (Summer 2025) - 16 - Huffman Coding @billbird2597
Algorithm Science (Summer 2025) - 16 - Huffman Coding  @billbird2597
Uploaded May 2025 | Updated November 2026, 3 hours ago
This video was made as part of a second-year undergraduate algorithms course sequence (Algorithms and Data Structures I and II).

0:00 Introduction
2:03 Compression
25:45 Run-Length Encoding
33:56 Developing a Scheme
42:01 Prefix-Free Codes
48:17 Encodings as Trees
53:27 Constructing Encodings
55:20 Huffman Coding
1:09:14 Symbol Selection
1:11:22 Decoding Prefix-Free Codes

The photograph on Slides 10 - 12 was originally taken from Wikimedia Commons (commons.wikimedia.org/wiki/File:Pear_in_tree_0465.jpg). The image is licensed under a Creative Commons license which allows derivative works.
The text of "A Tale of Two Cities" is in the public domain and can be obtained from a variety of sources. The version used here was obtained from Project Gutenberg (http://www.gutenberg.org)

All other slides and diagrams are original content (developed between 2019 and 2025). The materials used in this video, and the video itself, were prepared without any assistance from generative AI.

As any viewer will quickly realize, these videos were made just like in-person lectures: in one sitting, with no breaks, editing or script. If you find any of this helpful or interesting, please let me know (I really appreciate any other feedback as well).
Algorithm Science (Summer 2025) - 16 - Huffman CodingC Programming Practice (Fall 2023) - 1.03 - Variables and Types III (Currency Conversion)C Programming Practice (Fall 2023) - 4.03 - Character Input III (Vowels and Consonants)Data Compression (Summer 2023) - Lecture 14 - Arithmetic CodingC++ Programming (Spring 2022) - Lecture 8.05 - virtualC++ Programming (Spring 2022) - Lecture 3.06 - Exception Mechanics (Part 1)C Programming Practice (Fall 2023) - 11.03 - Debugging IV (Arrays and Strings)C++ Programming (Spring 2022) - Lecture 7.08 - Member ConstructionC++ Programming (Spring 2022) - Lecture 6.07 - Constructors and DestructorsData Compression (Summer 2023) - Lecture 10 - Lempel-Ziv SchemesC Programming Practice (Fall 2023) - 5.01 - Debugging I (Integer Input)C++ Programming (Spring 2022) - Lecture 3.01 - bool
BillBird |

Algorithm Science (Summer 2025) - 16 - Huffman Coding

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER