Katkat

Design a scalable parking lot system

AmazonSoftware Engineer · Technical Screen

Last updated

Design a scalable parking lot system evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Design a parking lot system supporting multiple vehicle types and levels, entry/exit gates, ticketing, payments, availability tracking, and pricing rules (hourly, daily). Define core classes, relationships, and APIs for parking, un-parking, and querying availability. Address concurrency, data consistency, failures (e.g., lost tickets), and full-capacity scenarios.