leetle

Daily challenge for 2025-04-18

108. Sum of Left Leaves in a Binary Tree

Write a function solve that finds the sum of all left leaves in a binary tree.

Example:
Input: [3,9,20,null,null,15,7]
Output: 24

Run this challenge interactively in Python or JavaScript when the app loads.