Mock Interviewer
Ask Coach
Tap a question to start, or type your own below.
Google Maps System Design
Visual Problem Diagram

Scenario
You are driving and a bridge closes ahead, so you expect Google Maps to draw the roads and hand you a new route around it in about a second. The painful failure is when turn-by-turn still sends you onto the closed bridge, because the route was built from road speeds collected before the closure.
Clarify this problem here, or open Pathway Coach if you want a prep plan first.
You can pan a map and search for a place. You can ask for driving directions and a time of arrival. You can watch traffic change the route. You can get a new route when the road ahead closes. You can download a map pack for when you have no signal.
You need to explain how map pictures are served from a copy close to you instead of drawing the whole planet on every pan. You need to explain how a route is chosen without searching every road. You need to explain how fresh traffic changes the cost of a road. You need to explain how the arrival time is added up from that route. You need to explain when the phone asks for a new route instead of on every location ping. Street-level photos and indoor maps can stay thin.
Constraints
Show the map. Search for a place and turn an address into a point. Give directions and a time of arrival. Show live traffic. Offer a map pack for offline use.
Most map pictures appear in under 200 milliseconds, so panning does not flash blank. A typical route comes back in under 1 second, so you are not stuck waiting to turn. Coverage is global.
1 billion users and billions of route requests a day, over petabytes of map data. The hot action is asking for a route. Millions of traffic speed reports a minute are the write that dominates. A bridge closure can send on the order of 10 million drivers looking for a new route.
Stages ahead
Not ready to design yet?
Try the free Coach trial — ask how to prep, what to practice first, or how InterviewCrafted works. Sign in when you want to start this problem.
Log in to start practicing
Preview the problem below. Sign in to start your timed session, save progress, and use the AI coach.
Want full access now? View Pro pricing