Given an array of meeting time intervals `intervals` where intervals[i] = [start_i, end_i], determine if a person can attend all meetings (i.e., no overlaps). **Pattern focus:** Sort by Start Time. Focus on correctness for edge cases.
Example 1:
Input:
intervals = [[0,30],[5,10],[15,20]]
Output:
false
Explanation:
Meeting [0,30] overlaps with [5,10], so cannot attend all.
Example 2:
Input:
intervals = [[7,10],[2,4]]
Output:
true
Explanation:
No meetings overlap; the person can attend all.