← Questions

Robot returns to origin while avoiding obstacles

0
WaymoCodingLast asked Sep 2026

A coding interview question asked in Waymo's technical phone screen, last asked Sep 2026. It tests simulation, hash sets and grids.

A robot starts at (0, 0) on an unbounded grid and follows a string of moves. Each move is one of U, D, L or R and moves it one cell.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Waymo · Technical phone screen · Last asked Sep 202645 min · Coding: a classic algorithm problem or an original, under-specified problem framed around self-driving

What it tests

simulation · hash sets · grids

Your code and the AI tutor open when you unlock this question.