码迷,mamicode.com
首页 >  
搜索关键字:maxiumdepth    ( 1个结果
LeetCode104_MaximumDepthofBinaryTree Java题解
题目: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. 解题: 求最大深度  和前面一题类似  用递归遍历就...
分类:编程语言   时间:2015-07-06 16:06:14    阅读次数:143
1条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!