Problem 1272 · Medium

Remove Interval

Cut one half-open interval out of each sorted, disjoint interval and keep the pieces that survive, in order.

Open the interactive visualisation