Back to course home
0% completed
Meeting Rooms II (medium)
Problem Statement
Given a list of time intervals during which meetings are scheduled, determine the minimum number of meeting rooms that are required to ensure that none of the meetings overlap in time.
Examples
-
Example 1:
- Input:
[[10, 15], [20, 25], [30, 35]]
- Expected Output:
1
- Justification: There are no overlapping intervals in the given list. So, only 1 meeting room is enough for all the meetings.
- Input:
-
Example 2:
- Input:
[[10, 20], [15, 25], [24, 30]]
- Expected Output:
2
- Input:
.....
.....
.....
Like the course? Get enrolled and start learning!