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
Interview Simulation
Experience a realistic interview conversation. The interviewer will ask clarifying questions,and you'll reveal your understanding of the requirements.
Let's start by understanding the scope. What are the core functionalities this system needs to provide?
💡 Interview Tip
Identify the Actors (Who uses the system?) and their Use Cases (What are they trying to achieve?). Start with the 'Happy Path' scenarios.