Showing 2 questions
You are given a collection of intervals. Merge all overlapping intervals into a single interval and return the result.
#1. Merge Intervals
You are given a sorted list of non-overlapping intervals and a new interval. Your task is to insert the new interval into the list, merging if necessary, and return the updated list of intervals.
#2. Insert Interval
Page 1 of 1 · 2 total