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 pricingConcept theory, tags and interview notes for Activity selection / meeting rooms.
What this asks
Keep the maximum number of non-overlapping intervals, and count the rooms a full set of meetings needs.
Sort by finish time and sweep for the keep count; sort by start and reuse the earliest-free room from a min-heap for the room count.
Try the matching visualizer modeThe 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