krahets / hello-algo

《Hello 算法》:动画图解、一键运行的数据结构与算法教程。支持 Python, Java, C++, C, C#, JS, Go, Swift, Rust, Ruby, Kotlin, TS, Dart 代码。简体版和繁体版同步更新,English version ongoing
https://www.hello-algo.com
Other
95.04k stars 12.07k forks source link

feat: Add ruby codes - chapter "Tree" #1288

Closed khoaxuantu closed 4 months ago

khoaxuantu commented 4 months ago

Here is the Ruby code for chapter Tree. Due to the huge size of codes, the code blocks in .md files will be in another PR


If this pull request (PR) is associated with coding or code transpilation, please attach the relevant console outputs to the PR and complete the following checklist: