
序列求和
文章平均质量分 71
jmspan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 112. Path Sum(路径和)
原题网址:https://leetcode.com/problems/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.原创 2016-05-24 00:18:59 · 513 阅读 · 0 评论 -
LeetCode 113. Path Sum II(路径和)
原题网址:https://leetcode.com/problems/path-sum-ii/ Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree原创 2016-05-24 00:19:11 · 851 阅读 · 0 评论