← Questions

Print timed text intervals in order and flag overlaps and gaps

0
SierraCodingLast asked Nov 2025

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.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding