We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1518b60 commit 548de0bCopy full SHA for 548de0b
src/main/java/com/fishercoder/solutions/_404.java
@@ -1,20 +1,7 @@
1
package com.fishercoder.solutions;
2
3
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.
8
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.*/
18
public class _404 {
19
public static class Solution1 {
20
public int sumOfLeftLeaves(TreeNode root) {
0 commit comments