Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 740 Bytes

File metadata and controls

49 lines (29 loc) · 740 Bytes

English Version

题目描述

计算给定二叉树的所有左叶子之和。

示例:

    3
   / \
  9  20
    /  \
   15   7

在这个二叉树中,有两个左叶子,分别是 9 和 15,所以返回 24

 

解法

Python3

Java

...