85. Maximal Rectangle
Posted 蓝色地中海
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了85. Maximal Rectangle相关的知识,希望对你有一定的参考价值。
Problem statement:
Given a 2D binary matrix filled with 0‘s and 1‘s, find the largest rectangle containing only 1‘s and return its area.
For example, given the following matrix:
1 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 0 1 0
Return 6.
Solution:
This is a
以上是关于85. Maximal Rectangle的主要内容,如果未能解决你的问题,请参考以下文章