首页 > 代码库 > LeetCode 104 Maximum Depth of Binary Tree

LeetCode 104 Maximum Depth of Binary Tree

Problem:

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.

Summary:

求二叉树的深度。

技术分享View Code

 

LeetCode 104 Maximum Depth of Binary Tree