Who has the closest car? — System design

Riders open a ride app and expect to see the closest cars at once. Design the lookup to answer every one of them.

All system design challenges