Uber | Phone Screen | Merge Sorted Interval Lists

2072
Oct 06, 2019
Oct 06, 2019

The question was to merge two separate lists of intervals. The list of individual intervals were sorted.

My approach was as below:

  1. Merge the two sorted lists in a single sorted list.
  2. Implementing the merging of intersecting intervals.

The leetcode problem can be found here.

Wish me luck for the onsite rounds.

Comments (6)