Minesweeper Board Reveal
Given a Minesweeper board board:
-1denotes a mine.0denotes an unrevealed safe cell.- A cell has up to eight neighboring cells.
Implement the reveal operation for one click at (r, c) ...
Example
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:
