01Chapter 1: Complete Binary Trees: The Shape Behind a HeapThis chapter assumes you can write Python functions and loops, use zero-based array indexing, read Big-O notation, and picture a binary tree as nodes with left and right children.2 min read
02Chapter 2: Building a Max-Heap from an Unsorted ArrayThis chapter assumes you know Python, zero-based arrays, and Big-O notation. It also assumes you know the parent and child index formulas and the max-heap property from the previous chapter.1 min read
03Chapter 3: Why Heap Sort Is Not StableThis chapter assumes you can already write sift_down, build_max_heap, and heap_sort, and that you know Big-O notation.2 min read