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.Fo...
分类:
其他好文 时间:
2015-10-17 17:39:44
阅读次数:
128
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. F...
分类:
其他好文 时间:
2015-10-11 22:49:45
阅读次数:
184
Path Sum IIGiven 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 tr...
分类:
编程语言 时间:
2015-10-11 18:05:57
阅读次数:
172
Path SumGiven 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 give...
分类:
编程语言 时间:
2015-10-11 17:52:58
阅读次数:
153
Given a binary tree, return all root-to-leaf paths.For example, given the following binary tree: 1 / \2 3 \ 5All root-to-leaf paths are:["1->...
分类:
其他好文 时间:
2015-10-07 17:32:31
阅读次数:
125
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For ...
分类:
其他好文 时间:
2015-10-04 15:50:27
阅读次数:
229
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 and sum ...
分类:
其他好文 时间:
2015-10-04 11:07:36
阅读次数:
137
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which...
分类:
其他好文 时间:
2015-10-04 11:06:49
阅读次数:
121
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.Fo...
分类:
其他好文 时间:
2015-10-04 11:02:20
阅读次数:
115
1、题目名称 Path Sum(树的根节点到叶节点的数字之和) 2、题目地址 https://leetcode.com/problems/path-sum/ 3、题目内容 英文:Given a binary tree and a sum, determine if the tree has a root-to-leaf p...
分类:
其他好文 时间:
2015-10-02 00:20:20
阅读次数:
316