AntInLoop

Binary Min-Heap Game — Sift-Up & Sift-Down Challenge

Restore the Binary Min-Heap invariant using Sift-Up and Sift-Down swaps across a live tree and array.

Time Complexity: O(log n)

Study the data structure · Watch Visualizer · All Algorithm Games