Waymo·Frontend Engineer·Technical Phone Screen
Jul 2026
Waymo frontend round where they handed me a single React problem and just... let me sit with it. The prompt was deliberately vague and the whole thing felt more like a design conversation than a coding test.
- Build a simplified single-player Battleship board in React with click-to-cycle cell states and a status panel that tracks which ships are sunk.
- How would you structure the React components for the grid and the ship status panel, and where should state live?
- How does your click handler update a cell's state correctly even under rapid successive clicks?
- How would you handle edge cases like overlapping ship coordinates, repeated clicks cycling back to empty, and resetting the board?
- If the grid scaled to 1000x1000, what would you change about rendering and sunk-detection to keep it performant?
- How would you test this component, and which parts deserve pure unit tests versus rendered component tests?
“The thing that tripped me up first was state modeling.”