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.
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.