Interval List Intersections

Given two lists of closed intervals, firstList and secondList, return all intersections between the two lists.

Each list is sorted by interval start, and intervals within the same list are pa...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: