You are given a grid. You need to find grid is covered by at least one rectangle.
Return the minimum possible sum of the areas of these
Note: The rectangles cannot overlap with each other, but they may share boundaries.
Constraints:
grid.length, grid[i].length
grid[i][j] is either
The input is generated such that there are at least grid.
You are given a grid. You need to find grid is covered by at least one rectangle.
Return the minimum possible sum of the areas of these
Note: The rectangles cannot overlap with each other, but they may share boundaries.
Constraints:
grid.length, grid[i].length
grid[i][j] is either
The input is generated such that there are at least grid.