[leetcode]二叉樹的最大深度和最小深度

1、二叉樹的最大深度 題目描述: 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.node 思路: 遞歸求解,每求到一個節點時,其
相關文章
相關標籤/搜索