[LeetCode] 56. Merge Intervals - 문제풀이
Description 배열이 주어지면 겹치는 모든 간격을 병합 하고 입력의 모든 간격을 포함하는 겹치지 않는 간격의 배열을 반환합니다 Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input. Example 1: Input: intervals = [[1,3],[2,6],[8,10],[15,18]] Output: [[1,6],[8,10],[15,18]] Explanation: Since intervals [1,3] and ..