85. Maximal Rectangle
2019-06-09
85. Maximal Rectangle
Given a 2D binary matrix filled with 0’s and 1’s, find the largest rectangle containing only 1’s and return its area.
Example:
1 | Input: |
Code:
1 | class Solution(object): |
2019-06-09
Given a 2D binary matrix filled with 0’s and 1’s, find the largest rectangle containing only 1’s and return its area.
Example:
1 | Input: |
1 | class Solution(object): |