Meeting Rooms
Examples
Example 1:
Input: intervals = [(0,30),(5,10),(15,20)]
Output: false
Explanation:
Example 2:
Input: intervals = [(5,8),(9,15)]
Output: true
Example 1:
Input: intervals = [(0,30),(5,10),(15,20)]
Output: false
Explanation:
Example 2:
Input: intervals = [(5,8),(9,15)]
Output: true
Given an array of meeting time interval objects consisting of start and end times [[start_1,end_1],[start_2,end_2],...] (start_i < end_i), determine if a person could add all meetings to their schedule without any conflicts.
Note: (0,8),(8,10) is not considered a conflict at 8
(0,30) and (5,10) will conflict(0,30) and (15,20) will conflict0 <= intervals.length <= 5000 <= intervals[i].start < intervals[i].end <= 1,000,000