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
0:54 Priority Queues
21:00 Piles of Numbers
29:15 Heaps
43:53 The Root Contains the Minimum Key
52:29 Insert Operation
1:05:09 RemoveMin Operation
1:15:39 Heap Height
1:19:40 Array-Based Heaps
1:33:47 Building Heaps from Sequences
1:40:43 Bottom-Up Construction
1:42:45 Heapify
1:54:44 Heap Sort
1:57:00 In-Place Heap Sort
2:00:44 Heap Sort is Optimal
All slides and diagrams are original content (developed between 2015 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).
This video was made as part of a second-year undergraduate algorithms course sequence (Algorithms and Data Structures I and II).
0:00 Introduction
0:54 Priority Queues
21:00 Piles of Numbers
29:15 Heaps
43:53 The Root Contains the Minimum Key
52:29 Insert Operation
1:05:09 RemoveMin Operation
1:15:39 Heap Height
1:19:40 Array-Based Heaps
1:33:47 Building Heaps from Sequences
1:40:43 Bottom-Up Construction
1:42:45 Heapify
1:54:44 Heap Sort
1:57:00 In-Place Heap Sort
2:00:44 Heap Sort is Optimal
All slides and diagrams are original content (developed between 2015 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).










