📜  最大路径和输入输出示例 - 无论代码示例

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

代码示例1
Input :      
           3                               
         /    \                          
       4       5                     
      /  \      
    -10   4                          
Output: 16
Explanation :
Maximum Sum lies between leaf node 4 and 5.
4 + 4 + 3 + 5 = 16.