Airline Seat Reservation System
MediumImagine you're building the backend for an airline seat reservation system. It's not just about marking seats as taken. We need a robust system that handles seat assignments based on passenger preferences (window, aisle), manages different fare classes (First, Business, Economy), deals with flight changes, and ensures that the seat map remains consistent even under heavy load. The system should also be easily extensible to accommodate new types of aircraft and seating configurations without requiring major code rewrites. This problem focuses on the core seat reservation logic and doesn't include external services like payment processing or flight scheduling.
Requirements
Think like an Architect
Before revealing the requirements, imagine you're in the interview right now."How would you clarify the scope with your interviewer?"