You are given a list of meeting times intervals. Each intervals[i] = [start_i, end_i] is one meeting that starts at start_i and ends at end_i.
A person can be in only one meeting at a time. A meeting that starts at the same moment another one ends is fine.
Return true if the person can attend all the meetings. Otherwise return false.
Examples
Example 1:
Input: intervals = [[9,11],[10,12]]
Output: false
Explanation: The meetings overlap between 10 and 11.
Example 2:
Input: intervals = [[1,3],[3,6],[8,9]]
Output: true
Explanation: The second meeting starts exactly when the first ends, which is allowed.
Example 3:
Input: intervals = [[20,30],[5,10],[10,20]]
Output: true
Explanation: In time order they are 5-10, 10-20 and 20-30, so they never overlap. The list does not have to be sorted.