摘要: 原题链接在这里:https://leetcode.com/problems/house-robber-ii/ 题目: Note: This is an extension of House Robber. After robbing those houses on that street, the 阅读全文
posted @ 2015-09-11 11:30 Dylan_Java_NYC 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/house-robber/ 题目: You are a professional robber planning to rob houses along a street. Each house has a certain 阅读全文
posted @ 2015-09-11 10:18 Dylan_Java_NYC 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/climbing-stairs/ 题目: You are climbing a stair case. It takes n steps to reach to the top. Each time you can eith 阅读全文
posted @ 2015-09-11 09:51 Dylan_Java_NYC 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/binary-tree-maximum-path-sum/ 题目: Given a non-empty binary tree, find the maximum path sum. For this problem, a 阅读全文
posted @ 2015-09-11 07:09 Dylan_Java_NYC 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/unique-binary-search-trees-ii/ 题目: Given an integer n, generate all structurally unique BST's (binary search tre 阅读全文
posted @ 2015-09-11 03:11 Dylan_Java_NYC 阅读(1013) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/unique-binary-search-trees/ 题目: Given n, how many structurally unique BST's (binary search trees) that store val 阅读全文
posted @ 2015-09-11 02:21 Dylan_Java_NYC 阅读(290) 评论(0) 推荐(0) 编辑