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 pricingDecide whether the tree fills every level except the last, and fills that one from the left.
What this asks
Decide whether the tree fills every level except the last, and fills that one from the left.
A level-order walk that tolerates one gap: once a missing child has been seen, no later node may have a child.
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