摘要: You are given an m x n integer matrix matrix with the following two properties: Each row is sorted in non-decreasing order. The first integer of each 阅读全文
posted @ 2015-03-09 12:53 Grandyang 阅读(15526) 评论(11) 推荐(0) 编辑
摘要: 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 阅读(37266) 评论(9) 推荐(2) 编辑
摘要: Given an array of integers heights representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle 阅读全文
posted @ 2015-03-09 02:38 Grandyang 阅读(50225) 评论(15) 推荐(1) 编辑
Fork me on GitHub