WaymoCodingMembers
Shortest Distance from All Buildings
Members only
The onsite coding round used the unmodified LC 317 prompt: choose an empty grid cell minimizing its total distance to every building, or return `-1` when no such cell can reach them all.
SWE
grid
bfs
shortest-path
hard
Frequency
Low
Last asked
2026-09-08
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
