Design a driver queue for a pickup area
Drivers waiting in a dedicated pickup area join a queue and are offered trips in order. Design it: how drivers enter and leave the queue, how their place is kept fairly, and how ride requests are handed to the driver at the front.
No answer yet. Write the first one; the best answer gets endorsed.
