Problem 404 · Easy

Sum of Left Leaves

Calculate the sum of all left leaves in a binary tree using depth-first search.

Open the interactive visualisation