Python3 - Faster than 99.58% - 36ms & 14.9MB
Python3 - Faster than 99.58% - 36ms & 14.9MB\n\nclass Solution:\n    def insert(self, intervals: List[List[int]], newInterval: List[int]) -> List[List[int]]:\n 
Python3 - Faster than 99.58% - 36ms & 14.9MB\n```\nclass Solution:\n    def insert(self, intervals: List[List[int]], newInterval: List[int]) -> List[List[int]]:\n        intervals.append(newInterval)\n        intervals.sort(key=lambda x: x[0])\n        \n        result = []\n        for interval in intervals:\n            if not result or result[-1][1] < interval[0]:\n                result.append(interval)\n            else:\n                result[-1][1] = max(result[-1][1],interval[1])\n                \n        return result\n```\n
['Python']