mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-11 06:56:06 +00:00
build
This commit is contained in:
@@ -107,7 +107,9 @@ comments: true
|
||||
=== "Rust"
|
||||
|
||||
```rust title=""
|
||||
|
||||
/* 二叉树的数组表示 */
|
||||
// 使用 None 来标记空位
|
||||
let tree = [Some(1), Some(2), Some(3), Some(4), None, Some(6), Some(7), Some(8), Some(9), None, None, Some(12), None, None, Some(15)];
|
||||
```
|
||||
|
||||
=== "C"
|
||||
|
||||
Reference in New Issue
Block a user