Problem Solution If next interval's start point is larger than current interval's end point, just add the next interval to the result array. If not, see if current interval's end point should be replaced. class Solution: def merge(self, intervals: List[List[int]]) -> List[List[int]]: intervals.sort(key = lambda x:x[0]) result = [] for interval in intervals: if not result or result[-1][1] < inter..