Skip to content

Commit 5d2d00b

Browse files
refactor 1302
1 parent 541ddc7 commit 5d2d00b

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/main/java/com/fishercoder/solutions/_1302.java

-21
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,6 @@
55
import java.util.LinkedList;
66
import java.util.Queue;
77

8-
/**
9-
* 1302. Deepest Leaves Sum
10-
*
11-
* Given a binary tree, return the sum of values of its deepest leaves.
12-
*
13-
* Example 1:
14-
* 1
15-
* / \
16-
* 2 3
17-
* / \ \
18-
* 4 5 6
19-
* / \
20-
* 7 8
21-
*
22-
* Input: root = [1,2,3,4,5,null,6,7,null,null,null,null,8]
23-
* Output: 15
24-
*
25-
* Constraints:
26-
* The number of nodes in the tree is between 1 and 10^4.
27-
* The value of nodes is between 1 and 100.
28-
* */
298
public class _1302 {
309
public static class Solution1 {
3110
public int deepestLeavesSum(TreeNode root) {

0 commit comments

Comments
 (0)