File tree Expand file tree Collapse file tree 3 files changed +3
-12
lines changed
binary-tree-zigzag-level-order-traversal
cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ leetcode 测试
10
10
11
11
##### 包含的内容如下
12
12
13
+ https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof/
14
+
13
15
https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-lcof/
14
16
15
17
https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof/
Original file line number Diff line number Diff line change @@ -14,15 +14,3 @@ export default function zigzagLevelOrder(root: TreeNode | null): number[][] {
14
14
} ) ;
15
15
return result ;
16
16
}
17
- // function level(nodes: TreeNode[], output: (r: number[]) => void) {
18
- // if (nodes.length === 0) return;
19
-
20
- // output(nodes.map((n) => n.val));
21
-
22
- // level(
23
- // nodes
24
- // .map((n) => [n.left, n.right].filter(Boolean) as TreeNode[])
25
- // .flat(),
26
- // output,
27
- // );
28
- // }
Original file line number Diff line number Diff line change
1
+ export { default } from "../binary-tree-zigzag-level-order-traversal/index.ts" ;
You can’t perform that action at this time.
0 commit comments