Intern · Intern · Online Assessment
Two leetcode coding questions - LeetCode 56: Merge Intervals ``` from typing import List class Solution: def merge(self, intervals: List[List[int]]) -> List[List[int]]: if not intervals: return [] intervals.sort(key=lambda x: x[0]) merged = [intervals[0]] for...