...

/

Interval List Intersections

Interval List Intersections

Try to solve the Interval List Intersections problem.

Statement

For two lists of closed intervals given as input, interval_list_a and interval_list_b, where each interval has its own start and end time, write a function that returns the intersection of the two interval lists.

For example, the intersection of [3,8][3, 8] and [5,10][5, 10] is [5,8][5, 8] ...