Air Traffic Control System
Design an in-memory object model that queues aircraft movement requests and grants each runway to at most one active clearance.
For this exercise, assume one airport has multiple runways and an in-memory, single-process control system. A controller registers aircraft by stable identifier, queues landing or takeoff requests, grants a queued request a runway clearance, and releases that clearance when the movement completes or is cancelled.
A request must identify a registered aircraft; duplicate aircraft identifiers and unknown-aircraft requests are rejected. One runway must never have overlapping active clearances. If a runway is already claimed, a grant attempt creates no clearance and leaves the request queued.
A release affects only the matching active clearance. Treat persistence and inter-airport routing as future changes, not part of the base design. Design the objects, responsibilities, public contracts, state transitions, interactions, and failure outcomes for this scope. No code is required.