Minesweeper Variant

Given a 2D board board representing a Minesweeper game state and a click position click = (r, c), implement the board update after one click (variant rules are per interviewer).

  • The board typic...

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: