阅读背景:

LeetCode 529. Minesweeper 解题报告

来源:互联网 

LeetCode 529. Minesweeper 解题报告

题目描述

You are given a 2D char matrix representing the game board. ‘M’ represents an unrevealed mine, ‘E’ represents an unrevealed empty square, ‘B’ represents a revealed blank square that has no adjacent (above, below, left, right, and all 4 diagonals) mines, digit (‘1’ to ‘8’) represents how many mines are adjacent to this revealed square, and finally ‘X’ represents a revealed mine.Y




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: