Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Merge Intervals by tokiojapan55
def merge_intervals(intervals):
result = [] if not intervals else [intervals.pop(0)]
while intervals:
s,e = intervals.pop(0)
if result[-1][1]
June 16, 2020
Comments: