Sum of Left Leaves
Find the sum of all left leaves in a given binary tree.
15 7There are two left leaves in the binary tree, with values 9 and 15 respectively. Return 24.
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0…