码迷,mamicode.com
首页 >  
搜索关键字:leaf    ( 924个结果
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.Fo...
分类:其他好文   时间:2015-10-17 17:39:44    阅读次数:128
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. F...
分类:其他好文   时间:2015-10-11 22:49:45    阅读次数:184
[LeetCode][JavaScript]Path Sum II
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
[LeetCode][JavaScript]Path Sum
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
【ACM从零开始】LeetCode OJ-Binary Tree Paths
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
107. Binary Tree Level Order Traversal II(Tree, WFS)
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
113. Path Sum II (Tree; DFS)
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
129. Sum Root to Leaf Numbers(Tree; DFS)
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
112. Path Sum (Tree; DFS)
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
LeetCode:Path Sum - 树的根节点到叶节点的数字之和
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
924条   上一页 1 ... 42 43 44 45 46 ... 93 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!