Deepest Leaves Sum
Given a binary tree, return the sum of values of its deepest leaves.
Example 1:
Constraints:
The number of nodes in the tree is between
1
and10^4
.The value of nodes is between
1
and100
.
Last updated
Given a binary tree, return the sum of values of its deepest leaves.
Example 1:
Constraints:
The number of nodes in the tree is between 1
and 10^4
.
The value of nodes is between 1
and 100
.
Last updated