Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 277 Bytes

85 最大矩形.md

File metadata and controls

17 lines (13 loc) · 277 Bytes

85 最大矩形

题目:

给定一个仅包含0和1的二维二进制矩阵,找出只包含1的最大矩形,并返回其面积。

输入:
[
  ["1","0","1","0","0"],
  ["1","0","1","1","1"],
  ["1","1","1","1","1"],
  ["1","0","0","1","0"]
]
输出: 6