码迷,mamicode.com
首页 >  
搜索关键字:algrothim    ( 1个结果
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 t...
分类:其他好文   时间:2015-06-06 12:10:56    阅读次数:131
1条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!