Fidelity Investments Interview Question

Write some pseudo-code that efficiently identifies potential overlaps between continuously-distributed time intervals.