DoorDash

1 DSA problems asked in DoorDash coding interviews

0 Easy
1 Medium
0 Hard
​

1 problem

Intervals
1
Interval List Intersections
Medium

You are given two lists of closed intervals, firstList and secondList. Each list is pairwise disjoint and sorted. Return the intersection of the two interval lists: every closed interval [lo, hi] of points that lie in some interval of both lists, in sorted order.