This commit is contained in:
krahets
2024-04-22 01:45:06 +08:00
parent 2f5cc98102
commit e95b3bddf2
7 changed files with 50 additions and 11 deletions

View File

@@ -131,7 +131,9 @@ comments: true
=== "Ruby"
```ruby title=""
### 二叉树的数组表示 ###
# 使用 nil 来表示空位
tree = [1, 2, 3, 4, nil, 6, 7, 8, 9, nil, nil, 12, nil, nil, 15]
```
=== "Zig"