LeetDesign
← All problems
Medium

Design Ride-Hailing Location Tracking

Track live driver positions and answer each rider asking which drivers are near their map right now.

Design the location backbone of a ride-hailing app. Every active driver's phone streams its position over a held-open connection, and every open rider app asks which drivers are near its map viewport right now.