Untitled

 avatar
unknown
plain_text
14 days ago
403 B
8
Indexable
Given an array of meeting time intervals intervals where intervals[i] = [starti, endi], 
return the minimum number of meeting rooms required.

Example 1:
Input: intervals = [[0,30],[5,10],[15,20]]
Output: 2
Explanation: We need two meeting rooms:
Room 1: [0,30]
Room 2: [5,10], [15,20]

Example 2:
Input: intervals = [[7,10],[2,4]]
Output: 1
Explanation: One room is sufficient as meetings don't overlap
Editor is loading...
Leave a Comment