摘要: Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1...n. (Medium) For example,Given n = 3, your progr 阅读全文
posted @ 2016-10-27 21:04 wangxiaobao1114 阅读(182) 评论(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. (Hard) For example, given the fo 阅读全文
posted @ 2016-10-27 20:59 wangxiaobao1114 阅读(257) 评论(0) 推荐(0) 编辑