Skip to content
Sorting Algorithms

Heap Sort

Binary tree + max extraction — O(n log n)

Test & Demo

Enter your array and watch both phases step-by-step