โ† Microsoft questions

Design a bus booking seat reservation system

Filed under Microsoft

The question

Design a bus seat reservation system where each row has x seats. If a customer requests K seats, assign K consecutive seats in the same row if available; otherwise, allocate any available seats across rows.

No write-up yet. Related questions below have one.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.