Battleship Board in React
Asked at Waymo · Coding Questions · Difficulty: Medium · Last asked Apr 3, 2026
Build a Battleship board as a React component. The board is a grid of cells; clicking a cell cycles its marker through three states, and the component shows which ships are sunk and which are still afloat.
Loading the problem…
More Waymo interview questions
- ML System Design: Choose Passenger Drop-off Location
- ML Coding: Debug a NumPy / Tensor Framework
- L5+ Behavioral: Policy vs Efficiency Trade-offs & Leadership
- Project Deep-Dive + ML Fundamentals Discussion
- Pickup Request Scheduler (OO Design)
- Build an Arithmetic Expression to Reach a Target