Back to Browse

Heap Sort Python Implementation and Visualization

328 views
Jun 4, 2025
8:59

I recently learned about heaps and heap sort, so made a tutorial/visualization to help other people understand it intuitively. 0:00 - Intro 0:21 - Creating a Heap from an Array 1:35 - Max Heap Property 2:42 - Max Heapify Function 5:02 - Build Max Heap Function 6:20 - Heap Sort Algorithm 8:40 - Outro Link to MIT Opencourseware Lecture 4: Heaps and Heap Sort: https://www.youtube.com/watch?v=B7hVxCmfPtM Link to Code: https://github.com/MichaelDerrenbacher/Computer_Science/blob/main/heap_sort.py

Download

1 formats

Video Formats

360pmp411.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Heap Sort Python Implementation and Visualization | NatokHD