摘要: 问题描述: Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserv 阅读全文
posted @ 2016-08-24 20:11 32ddd 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 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 fol 阅读全文
posted @ 2016-08-24 17:12 32ddd 阅读(353) 评论(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 th 阅读全文
posted @ 2016-08-24 16:15 32ddd 阅读(280) 评论(0) 推荐(0) 编辑