Nominal (NY) interview question

Line sweep algorithm problem involving intersections of time intervals