码迷,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...
分类:其他好文   时间:2014-11-19 20:16:31    阅读次数:152
Ext.data.TreeStore展开节点重复load
之前使用自定根节点时,展开父节点会自动调用load方法,导致无限循环目录,代码如下:showTreeData是本地数据:showTreeData = [{id:0,text:'123',leaf:true},{id:1,text:'234',children:[{ id:2, text:'234.....
分类:其他好文   时间:2014-11-19 17:38:24    阅读次数:367
Binary Tree Level Order Traversal II
题目描述: 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 example: Given binary tree {3,9,20,...
分类:其他好文   时间:2014-11-18 10:25:11    阅读次数:145
LeetCode: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 tr...
分类:其他好文   时间:2014-11-17 10:48:34    阅读次数:134
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 andsum =...
分类:其他好文   时间:2014-11-16 10:35:02    阅读次数:205
[Leetcode] 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...
分类:其他好文   时间:2014-11-16 07:06:02    阅读次数:151
[Leetcode] 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 andsum =...
分类:其他好文   时间:2014-11-16 07:04:58    阅读次数:216
Binary Tree Level Order Traversal II
Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exa...
分类:其他好文   时间:2014-11-15 18:47:01    阅读次数:234
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...
分类:其他好文   时间:2014-11-13 22:21:29    阅读次数:215
[LeetCode] 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 andsum =...
分类:其他好文   时间:2014-11-13 00:16:31    阅读次数:247
924条   上一页 1 ... 74 75 76 77 78 ... 93 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!