Anonymous · shared experience20 Dec 2025 · 7 views
CRED: Flight booking with per-seat pricing and no double sale across resellers
Problem. In a two-hour onsite, lead the design of a flight booking platform from scratch.
Areas covered.
- Functional and non-functional requirements, scope and assumptions
- Domain entities, database schema and relationships
- Search for one-way and round trips, including connections with at most one stop, and how to keep search fast
- Booking: locking seats while booking, where every seat has its own price that can change, and keeping multi-segment bookings consistent
- Twist: several resale platforms sell the same airline seats. How do you stop a seat from being sold twice across platforms? The candidate's answer, that the airline owns the lock and grants it to the platform, was accepted
- High-level services with a database, a cache and a message queue
After the round. A 24-hour take-home: a design document plus a working prototype with every component wired up. AI tools were allowed. The interviewer wanted end-to-end ownership, with consistency and concurrency at the centre.
Comments 0
No comments yet. Ask the author something, or add what happened in your own round.