You are given an integer n representing the size of an n by n binary grid. All cells in the grid are initially set to mines, where each element mines[i] = [x_i, y_i] indicates that the cell at (x_i, y_i) contains a
An axis aligned plus sign of order k centered at cell (r, c) consists of grid[r][c] = 1 along with four extending arms of length
Return the order of the largest plus sign that can be formed in the grid. If no valid plus sign exists, return
Constraints:
n
mines.length
x_i, y_i n
All the pairs (x_i, y_i) are unique.
You are given an integer n representing the size of an n by n binary grid. All cells in the grid are initially set to mines, where each element mines[i] = [x_i, y_i] indicates that the cell at (x_i, y_i) contains a
An axis aligned plus sign of order k centered at cell (r, c) consists of grid[r][c] = 1 along with four extending arms of length
Return the order of the largest plus sign that can be formed in the grid. If no valid plus sign exists, return
Constraints:
n
mines.length
x_i, y_i n
All the pairs (x_i, y_i) are unique.