Waymo logoWaymo
Coding·45 minMembers

Car Maze with Incrementally Revealed Neighbors (DFS)

Members only

Phone screen: a car explores a maze toward a goal; at each cell it learns which neighbors are reachable but has no global view. Implement DFS with a visited set to find a path while preventing cycles.

SWE
dfs
graph
simulation
easy
Frequency
Single report
Last asked
2026-03-25
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...