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 ordering rule holds, catching the violations that sit two levels apart.
What this asks
Say whether a binary tree follows the BST ordering rule.
Carry an allowed range down, or check that the in-order walk is sorted; a local parent comparison misses violations two levels away.
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