Problem 1272 · Medium
Cut one half-open interval out of each sorted, disjoint interval and keep the pieces that survive, in order.
Open the interactive visualisation