InterviewDB
Question
Find Uber: Locate the Nearest Available Driver to a Rider Using a Geospatial Index
phone
Question Details
Problem You have a set of available drivers, each with a (lat, lon) position. Given a rider's position, find the nearest available driver. Implement the system with support for drivers going online/offline and position updates. Example: Follow-ups Wh…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite
Phone