Skip to content

Commit

Permalink
Merge pull request krahets#179 from DullSword/patch-1
Browse files Browse the repository at this point in the history
docs(chapter_tree/binary_tree/二叉树表示方式 *): JS code
  • Loading branch information
krahets authored Dec 27, 2022
2 parents 4c9e5cc + 9a46bf1 commit af86129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/chapter_tree/binary_tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ comments: true
```js title=""
/* 二叉树的数组表示 */
// 直接使用 null 来表示空位
let tree = [1, 2, 3, 4, 5, 6, 7, null, null, null, null, null, null, null, null]
let tree = [1, 2, 3, 4, null, 6, 7, 8, 9, null, null, 12, null, null, 15];
```

=== "TypeScript"
Expand Down

0 comments on commit af86129

Please sign in to comment.