Corporate Flight Bookings — Difference Array & Sweep

Total the seats reserved on each flight in a row, given group bookings that each cover a run of consecutive flights.

Difference Array & Sweep · Medium

More in Difference Array & Sweep

All algorithm problems