Skip to content

Commit e27fd20

Browse files
refactor 103
1 parent a628bc0 commit e27fd20

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/_103.java

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

11-
/**
12-
* 103. Binary Tree Zigzag Level Order Traversal
13-
*
14-
Given a binary tree, return the zigzag level order traversal of its nodes' values.
15-
(ie, from left to right, then right to left for the next level and alternate between).
16-
17-
For example:
18-
Given binary tree [3,9,20,null,null,15,7],
19-
3
20-
/ \
21-
9 20
22-
/ \
23-
15 7
24-
return its zigzag level order traversal as:
25-
[
26-
[3],
27-
[20,9],
28-
[15,7]
29-
]
30-
*/
3111
public class _103 {
3212
public static class Solution1 {
3313
public List<List<Integer>> zigzagLevelOrder(TreeNode root) {

0 commit comments

Comments
 (0)