Skip to main content
Admissions guidance, study banks, and career tools — get started on Shalyam

Corporate Flight Bookings

There are n flights labelled 1..n. Each booking (first, last, seats) reserves seats on every flight in that range. Print the total seats reserved on each flight.

Constraints

1 <= n, b <= 2*10^4

Discussion

No discussions yet.

Rewards · v2.1

Get Exclusive Insights with Every Issue

Join Shalyam Newsletter

Stay ahead in education, research, and innovation—straight to your inbox.