Print timed text intervals in order and flag overlaps and gaps
You get a list of time intervals, each with a piece of text, and print them in time order, much like merge intervals. The follow-up asks you to report where two intervals overlap and where there is a gap between consecutive intervals.
No answer yet. Write the first one; the best answer gets endorsed.
