Merge Intervals - LeetCode 56. Merge Intervals Medium Given an array of intervals where intervals [i] = [start i, end i], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input. Example 1: