Given an array of meeting time intervals [[start, end]], determine if a person could attend all meetings.
Input: intervals = [[0,30],[5,10],[15,20]]
Output: false
Topics: sorting, arrays
Asked by: Google, Amazon
Time complexity: O(n log n). Space complexity: O(1).