Algorithm · Uber · Medium
Minesweeper Medium · Topics · Company Tags · Hints You are given a two‑dimensional character grid board that represents a Minesweeper field. Each cell starts in one of two states: 'M' – an unrevealed mine 'U' – an unrevealed empty cell You also receive a click position click = [r, c], specifying the row and column the player clicks. After the click, the board must be updated according to these rules: If the clicked cell is 'M', change it to 'X' and stop. The rest of the…
Checking your access…