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 pricingSlide a window over the merged order: the heap gives the current minimum, a running maximum closes the range.
What this asks
Find the narrowest range that includes one value from every list.
Slide over the merged order: the heap supplies the current minimum while a running maximum bounds the range.
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