56. 合併區間

class Solution: def merge(self, intervals): """ :type intervals: List[Interval] :rtype: List[Interval] """ num = len(intervals) if num <= 1: return intervals
相關文章
相關標籤/搜索