Approach hintTry it first, then revealHide
Walk both sorted lists with two indices. The current pair overlaps on [max(starts), min(ends)] when that range is non-empty; then advance whichever interval ends first.
Walk both sorted lists with two indices. The current pair overlaps on [max(starts), min(ends)] when that range is non-empty; then advance whichever interval ends first.