📜  这棵树的高度是______. (只写数字 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:15.909000             🧑  作者: Mango

代码示例1
Input: Given binary tree, 
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
      5
     / \
    3   6
   / \
  2   4
 /
1
Output: return its depth = 4