LeetCode:104 Maximum Depth of Binary Tree(easy)

题目:

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.

代码:

 

posted on 2017-08-28 10:11  玲珑子  阅读(93)  评论(0编辑  收藏  举报

导航