Practice
Learn
← Quit
0 / 0 correct
Algorithms
Hard
1 of 40
How many meeting rooms are needed for a set of intervals?
A
Count distinct start times
B
Count intervals
C
Sort by start; keep a min-heap of end times; reuse a room if the earliest end ≤ current start; the heap's max size is the answer
D
Find the longest interval