Original title URL: http://www.lintcode.com/zh-cn/problem/maximum-depth-of-binary-tree/#
Given a binary tree, find its maximum depth.
The depth of a binary tree is the distance from the root node to the farthest leaf node.
Sample
Given a binary tree as follows:
1
/ \
2 3
/ \
4 5
The maximum depth of this binary tree is 3
.