LeetCode
文章平均质量分 72
LCY天上殿
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode——Path Sum
第一题:Path Sum Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example: Given the below binary t原创 2016-04-25 21:07:31 · 607 阅读 · 0 评论 -
LeetCode——backtracking分析
最近刷leetcode,在做到backtracking题目的时候总会有一些疑惑,其实对于backtracking题目都是很类似,代码也是有一定的模板的,这里总结一下: 一般的模板: 第一题:Subsets (题目)Given a set of distinct integers, nums, return all possible subsets. Note: The solution se原创 2016-09-05 18:22:57 · 749 阅读 · 0 评论
分享