This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingMove the last cell into the root, then sift down while a child is smaller.
What this asks
Remove the root and restore the heap rule.
Move the last cell into the root, shrink the heap, then sift down while a child is smaller.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing