摘要: 1.Unique Binary Search Trees 题目链接 题目要求: Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n? For example, Gi... 阅读全文
posted @ 2015-06-13 21:57 峰子_仰望阳光 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 之所以将这三道题放在一起,是因为这三道题非常类似。 1.Minimum Path Sum 题目链接 题目要求: Given amxngrid filled with non-negative numbers, find a path from top left to bottom rig... 阅读全文
posted @ 2015-06-13 16:06 峰子_仰望阳光 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题目要求: Find the total area covered by two rectilinear rectangles in a 2D plane. Each rectangle is defined by its bottom left corner and top r... 阅读全文
posted @ 2015-06-13 13:10 峰子_仰望阳光 阅读(290) 评论(0) 推荐(0) 编辑