Meeting rooms: find conflicts and the minimum rooms needed
You get room requests as half-open intervals [start, end). First decide whether a single room can serve all of them (no two overlap). If not, return the fewest rooms needed so every request is met. Sort by start time and keep a min-heap of end times, or sweep over start and end events.
No answer yet. Write the first one; the best answer gets endorsed.
