摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. 题意:求全由1组成的最大矩形面积。 思路:这题感觉是larges 阅读全文
posted @ 2017-07-15 16:12 王大咩的图书馆 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist 阅读全文
posted @ 2017-07-15 15:40 王大咩的图书馆 阅读(3572) 评论(2) 推荐(1) 编辑