[LeetCode] 85. Maximal Rectangle 最大矩形

Given a rows x cols binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. Example 1: Input: matri
posted @ 2015-03-09 06:43  Grandyang  阅读(37469)  评论(9)    收藏  举报
Fork me on GitHub