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 pricingSort starts and keep a min-heap of end times; a room frees when its end passes.
What this asks
Find how many meeting rooms a schedule really needs.
Sort by start; a min-heap of end times releases rooms, and the heap's largest size is the answer.
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