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 pricingThe repair walk for removals and heap building, choosing the smaller child at every step.
What this asks
Write the repair walk that removals and heap building share.
Compare the node with its smaller child and swap until it wins or reaches a leaf.
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