Minimum Interval to Include Each Query — Intervals

For each queried day, report how long the shortest-lasting pass covering it is, or signal that no pass covers it.

Intervals · Medium

More in Intervals

All algorithm problems