Skip to content

Commit 1700eed

Browse files
refactor 637
1 parent 98c71d2 commit 1700eed

File tree

1 file changed

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

1 file changed

+0
-20
lines changed

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,6 @@
77
import java.util.List;
88
import java.util.Queue;
99

10-
/**
11-
* 637. Average of Levels in Binary Tree
12-
*
13-
Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array.
14-
15-
Example 1:
16-
Input:
17-
3
18-
/ \
19-
9 20
20-
/ \
21-
15 7
22-
23-
Output: [3, 14.5, 11]
24-
Explanation:
25-
26-
The average value of nodes on level 0 is 3, on level 1 is 14.5, and on level 2 is 11. Hence return [3, 14.5, 11].
27-
Note:
28-
The range of node's value is in the range of 32-bit signed integer.
29-
*/
3010
public class _637 {
3111

3212
public static class Solution1 {

0 commit comments

Comments
 (0)