← Questions

Move instructions for a robot that cannot see the maze

0
WaymoCodingLast asked Jan 2026

A robot is in a 2D maze but cannot see it. Produce the sequence of move instructions that gets it to the goal, under the rules the interviewer gives for what happens when a move hits a wall. Explain your search and why the instructions work.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding