Leetcode, Interval, Interview Questions, Google, Meta.
least 2 tasks ongoing) In other words, find union and intersection of a list of intervals. The input is sorted by start time. Example: Input: [[1, 10], [2, 6], [9, 12], [14, 16], [16, 17]] Output union: [[1, 12], [14, 17]] Explanation: We just need to merge overlapping intervals Output