码迷,mamicode.com
首页 >  
搜索关键字:leaf    ( 924个结果
[LeetCode]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,#,#,15,7}, ...
分类:其他好文   时间:2014-11-27 16:14:23    阅读次数:184
leetcode-Path Sum
Path Sum  Total Accepted: 31405 Total Submissions: 104326My Submissions Question  Solution  Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that add...
分类:其他好文   时间:2014-11-27 09:15:36    阅读次数:151
UVA - 548
TreeYou are to determine the value of the leaf node in a given binary tree that is the terminal node of a path of least value from the root of the bin...
分类:其他好文   时间:2014-11-26 13:50:09    阅读次数:231
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 and sum = 22, 5 ...
分类:其他好文   时间:2014-11-26 11:19:45    阅读次数:125
【LeetCode】Sum Root to Leaf Numbers
Sum Root to Leaf NumbersGiven a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-l...
分类:其他好文   时间:2014-11-26 10:51:51    阅读次数:169
【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 and sum = 22, 5 ...
分类:其他好文   时间:2014-11-23 17:34:18    阅读次数:163
【Leetcode】【Easy】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-22 00:43:18    阅读次数:130
Sum Root to Leaf Numbers深度优先计算路径和
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:其他好文   时间:2014-11-20 15:06:39    阅读次数:212
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-20 14:54:26    阅读次数:230
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.Ja...
分类:其他好文   时间:2014-11-20 13:30:27    阅读次数:120
924条   上一页 1 ... 73 74 75 76 77 ... 93 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!