Meeting Rooms
Easy
Topics
Given an array of meeting time intervals where intervals[i] = [start, end], return true if a person could attend all meetings (no two overlap).
Example 1
Input: intervals = [[0,30],[5,10],[15,20]] Output: false
Example 2
Input: intervals = [[7,10],[2,4]] Output: true
Constraints
- 0 <= intervals.length <= 10^4
- intervals[i].length == 2
- 0 <= start < end
Run ⌘' · Submit ⌘⏎