← All problems
Meeting Rooms II (min conference rooms)
Given an array of meeting time intervals [start, end), find the minimum number of conference rooms required so that all meetings can be held without overlap in the same room.
Complexity
Time O(n log n), Space O(n)
Common pitfalls
- Counting overlaps pairwise O(n^2)
- Not sorting by start first
Your solution
Log in to save your code and track progress.