Insert Interval — Intervals
Given sorted booked windows and a new one, fold the new window together with every booking it reaches, then return the list.
Intervals · Medium
Given sorted booked windows and a new one, fold the new window together with every booking it reaches, then return the list.
Intervals · Medium