Design pickup point planning for ride-hailing
I was asked this
No reports yet. Sign in to say where you were asked it.
A system design interview question asked in Amazon's technical phone screen, last asked May 2025. It tests geospatial, ride-hailing and recommendations.
Design how a ride-hailing app recommends a pickup point. A rider requests a ride from an approximate location, possibly inside a building or near a big intersection, and the GPS pin may be noisy. The driver is at a known location. The system must suggest a point the rider can walk to and the driver can reach, where stopping is legal and safe, and show it clearly in both apps. Cover the algorithm and the system around it.
Requirements
- Functional: generate candidate pickup points near the rider; filter out unsafe or illegal ones; rank the rest; show the chosen point to rider and driver with walking and driving directions; fall back when confidence is low.
- Inputs available: map data, the road graph, pedestrian paths, routing and ETA services, live traffic when available.
- Non-functional: an answer within a few hundred milliseconds of the request; works across downtowns, suburbs, airports and campuses; improves from past pickups.
Clarifying questions
- Which environments are in scope: downtown, suburb, airport, campus, or all of them?
- Is the rider's walking ability or accessibility need known? What is the most a rider should walk?
- Do we have legal stopping zones, curb access, building entrances and the history of past pickups?
- What is the goal: least total time, fewest cancellations, fewest unsafe stops or fewest support contacts?
What a strong answer covers
- Snapping the rider's pin and the driver to the pedestrian and road networks, with an estimate of how far off the pin is.
- Candidate generation: curb segments, known entrances, popular past pickup spots within walking range.
- Hard filters (no stopping zones, highways, the wrong side of a divided road) before scoring.
- A score combining driver ETA, rider walking time, safety, confidence and historical success, with the weights tied to the chosen goal.
- Architecture: client apps, a pickup-point service, map and routing services, caching of candidates per area, logging of where pickups actually happened.
- Presentation and fallback: a pin with walking directions, a chosen side of the street, and a call or chat option when confidence is low.
Follow-ups
- How do you handle airports and malls with assigned pickup zones?
- How would you learn better pickup points from historical data, such as where drivers actually stopped?
- How do you support riders who cannot walk far?
- What metrics would you use in an A/B test of a new ranking?
Where it's asked
- Amazon · Technical phone screen · Last asked May 202560 min · Live coding in a shared editor that does not run code, plus Leadership Principles questions · No AI
What it tests
geospatial · ride-hailing · recommendations
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
