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 pricingWalk left as far as possible for the minimum and right for the maximum.
What this asks
Find the smallest and largest keys in a BST.
Slide left from the root for the minimum and right for the maximum; one path each.
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