Render a Battleship grid in React where clicking a cell cycles it through blank, red peg and white peg, and show whether each ship is sunk. A 45-minute Waymo frontend phone screen.
Render a Battleship grid in React where clicking a cell cycles it through blank, red peg and white peg, and show whether each ship is sunk. A 45-minute Waymo frontend phone screen.
The discussion opens with the full question.