Skip to content

Commit 62ccf11

Browse files
committed
https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof/
1 parent 43bf50f commit 62ccf11

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ leetcode 测试
1010

1111
##### 包含的内容如下
1212

13+
https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof/
14+
1315
https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-lcof/
1416

1517
https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof/

binary-tree-zigzag-level-order-traversal/index.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,3 @@ export default function zigzagLevelOrder(root: TreeNode | null): number[][] {
1414
});
1515
return result;
1616
}
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-
// }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "../binary-tree-zigzag-level-order-traversal/index.ts";

0 commit comments

Comments
 (0)