Input: Binary Tree
10
/ \
6 14
/ / \
4 12 16
The depth of the tree is 3.
Recursive Solution:
没有评论:
发表评论