fix(doc/go): fix binary_tree doc (#420)

pull/423/head
Reanon 2 years ago committed by GitHub
parent 06f87d8066
commit fcdc96e03d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -510,7 +510,9 @@
=== "Go"
```go title=""
/* 二叉树的数组表示 */
// 使用 any 类型的切片, 就可以使用 nil 来标记空位
tree := []any{1, 2, 3, 4, nil, 6, 7, 8, 9, nil, nil, 12, nil, nil, 15}
```
=== "JavaScript"

Loading…
Cancel
Save