PinterestCoding·60 minMembers
Robot Vacuum 8-Direction Grid
Members only
Three-part robot-traversal grid problem: a vacuum starts at a position and can move in 8 directions (orthogonal + diagonal). Return all reachable cells in three settings — open grid, single-obstacle g...
SWE
grid
dfs
bfs
simulation
medium
Frequency
Low
Last asked
2026-08-18
Stage
phone-screen · onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
