hacktoberfest
Repository metrics
- Stars
- (0 stars)
- PR merge metrics
- (PR metrics pending)
Description
You are given a list of intervals, each with a start and end time, and they don't overlap. You also have a new interval to add. Insert the new interval into the list in the correct order, and if it overlaps with any intervals, merge them together. Return the updated list of intervals.