mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 12:58:42 +08:00
feat: add ruby code block - chapter data structure (#1227)
This commit is contained in:
@ -166,13 +166,14 @@
|
|||||||
=== "Ruby"
|
=== "Ruby"
|
||||||
|
|
||||||
```ruby title=""
|
```ruby title=""
|
||||||
|
# Ruby 的列表可以自由存储各种基本数据类型和对象引用
|
||||||
|
data = [0, 0.0, 'a', false, ListNode(0)]
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "Zig"
|
=== "Zig"
|
||||||
|
|
||||||
```zig title=""
|
```zig title=""
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
??? pythontutor "可视化运行"
|
??? pythontutor "可视化运行"
|
||||||
|
|||||||
Reference in New Issue
Block a user