DIY: Insert Interval
Problem statement
For this problem, you are given a list of non-overlapping intervals, and you need to insert another interval into the list. The output should contain a list of mutually exclusive intervals.
Input
The function has two inputs. The ...
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy