Insert Interval

Given a list of non-overlapping intervals sorted by start, insert a new interval and merge if necessary.

Examples
Input: [[[1,3],[6,9]],[2,5]]
Output: [[1,5],[6,9]]
Hints
Related Problems

Insert Interval

Given a list of non-overlapping intervals sorted by start, insert a new interval and merge if necessary.