摘要: Problem statement: Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3, there are total 阅读全文
posted @ 2017-05-13 11:52 蓝色地中海 阅读(151) 评论(0) 推荐(0)
摘要: 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, 阅读全文
posted @ 2017-05-13 11:25 蓝色地中海 阅读(153) 评论(0) 推荐(0)
摘要: Problem statment: Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rec 阅读全文
posted @ 2017-05-13 09:58 蓝色地中海 阅读(174) 评论(0) 推荐(0)