Reposted
Google · Phone screen
In processGoogle New Grad R1 Nearest Taxi BFS and BQ: 1 Experience
Software engineer · New GradMaster's degreeJan 2026
Shared by
Google new grad SWE R1, January 2026: nearest-taxi distances with multi-source BFS, a follow-up for taxis going on and offline, and a behavioral round.
At a glance
- Process: R1 technical round (about 30 minutes of coding plus 15 minutes of talk) → behavioral round after two reschedules → passed R1 (01).
- Asked recently: distance from every grid cell to the nearest taxi, with dynamic taxi updates as a spoken follow-up, and six behavioral topics (01).
- Difficulty: the candidate spotted the Rotting Oranges pattern quickly; the dynamic follow-up was only discussed, not coded.
- Practise first: Distance to the Nearest Taxi in a Grid
Coverage: one Google software engineer new grad candidate; report January 2026.
What came up
| Topic | Reports | Last seen |
|---|---|---|
| Graphs and multi-source BFS | 1 of 1 | Jan 2026 |
| Heaps and lazy deletion (design follow-up) | 1 of 1 | Jan 2026 |
| Behavioral (conflict, workload, feedback) | 1 of 1 | Jan 2026 |
Questions we found
Algorithms / Data Structures
| Question | Reports | Last seen |
|---|---|---|
| Distance to the Nearest Taxi in a Grid | 1 | Jan 2026 |
Behavioral (BQ)
| Question | Reports | Last seen |
|---|---|---|
| A complex project with conflict between teammates (practice) | 1 | Jan 2026 |
| Giving feedback and handling the reaction (practice) | 1 | Jan 2026 |
| One person takes credit for the whole team (practice) | 1 | Jan 2026 |
| More work than you could handle, and how you prioritized | 1 | Jan 2026 |
| Helping another person | 1 | Jan 2026 |
| Something you learned recently | 1 | Jan 2026 |
1 detailed candidate timeline
01: Multi-source BFS, then taxis that come and go
Report date: January 2026 · Role: Software Engineer, New Grad · Result: passed R1
Coding: distance to the nearest taxi
- A matrix holds several taxis. For every cell, return its shortest distance to any taxi: Distance to the Nearest Taxi in a Grid.
- The candidate saw the Rotting Oranges pattern and ran multi-source BFS from every taxi cell.
- Follow-up 1: could DFS work? The candidate explained BFS is the natural fit for unweighted shortest distances.
- Follow-up 2: taxis randomly go online and offline. The candidate proposed computing distances from each taxi and keeping per-cell candidates in a heap: adding a taxi adds records, removing one invalidates its records. After the interview they added a dictionary of online taxis with lazy deletion.
- Coding took about 30 minutes, then 15 minutes of conversation. The dynamic follow-up was talked through, not coded.
Behavioral (after two reschedules)
- A complex project and a conflict between teammates (practice).
- Helping another person.
- Having more work than you could handle, and choosing priorities.
- Something you learned recently.
- Giving feedback and how the other person reacted (practice).
- What you do when one person takes credit for the whole team (practice).
Common questions
What is the Google nearest taxi interview question?
For every grid cell, return the distance to the nearest taxi; report 01 solved it with multi-source BFS.
What follow-up does Google ask on the nearest taxi question?
In report 01: whether DFS works, and how to handle taxis going online and offline, answered with per-cell heaps and lazy deletion.
Keep practicing
- Distance to the Nearest Taxi in a Grid: the R1 coding question from report 01.
- A conflict when working with others, Giving critical feedback and Someone takes credit for your work: close matches for behavioral questions in report 01.
- Google coding question bank and Google behavioral question bank (sign-in needed).
- Google interview guide and Google hiring insights: stages, practice problems and recent hiring signals.
- Experience feed: more interview reports from other companies and roles.
Sources: Anywhere useful interview info can be found.
0 total reactions. Your reactions: none.
0 comments
Comments
0No comments yet — be the first to share what you know.