How to Compute the Interval List Intersections using Two Pointer Algorithms?
Given two lists of closed intervals, each list of intervals is pairwise disjoint and in sorted order. Return the intersection of these two interval lists. (Formally, a closed interval …