Deepest Leaves Sum | LeetCode

Problem Source Given a binary tree with N nodes. Each node in the binary tree contains some value associated with it. Find the sum of values present in the leaf nodes present at highest depth. For example for the tree given below, the sum is 7 + 8 = 15. Because and 7 and 8 …

Deepest Leaves Sum | LeetCode Read More »