Skip to content

Commit 548de0b

Browse files
refactor 404
1 parent 1518b60 commit 548de0b

File tree

1 file changed

+0
-13
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-13
lines changed

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
package com.fishercoder.solutions;
22

33
import com.fishercoder.common.classes.TreeNode;
4-
/**
5-
* 404. Sum of Left Leaves
6-
*
7-
* Find the sum of all left leaves in a given binary tree.
84

9-
Example:
10-
11-
3
12-
/ \
13-
9 20
14-
/ \
15-
15 7
16-
17-
There are two left leaves in the binary tree, with values 9 and 15 respectively. Return 24.*/
185
public class _404 {
196
public static class Solution1 {
207
public int sumOfLeftLeaves(TreeNode root) {

0 commit comments

Comments
 (0)