GoLang Solution For LeetCode Problem: Sum of Left Leaves
Solving Sum of Left Leaves in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
Find the sum of all left leaves in a given binary tree.
3 / \ 9 20 / \ 15 7 There are two left leaves in the binary tree, with values 9 and 15 respectively. Return 24.
See the full details of the problem Sum of Left Leaves at LeetCode
Originally posted at: @github.com/halfrost/LeetCode-Go