feat: add ruby code blocks - chapter tree (#1293)

This commit is contained in:
khoaxuantu
2024-04-19 22:42:20 +07:00
committed by GitHub
parent 587344da62
commit 74f1a63e8c
3 changed files with 46 additions and 7 deletions

View File

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