khoaxuantu
aa818945f0
feat: Add Ruby code - chapter "Backtracking" ( #1373 )
...
* [feat] add ruby code - chapter backtracking
* feat: add ruby code block - chapter backtracking
6 months ago
rongyi
21be3fdaf8
[Rust] Normalize mid calculation in case overflow ( #1363 )
...
* Normalize mid calculate in case overflow
* Change ALL language
* Update merge_sort.py
* Update merge_sort.zig
* Update binary_search_tree.zig
* Update binary_search_recur.py
---------
Co-authored-by: Yudong Jin <krahets@163.com>
6 months ago
khoaxuantu
9e569cf520
feat: add ruby code - chapter "divide and conquer" ( #1361 )
6 months ago
khoaxuantu
1f606d6852
feat: add ruby codes - chapter greedy ( #1350 )
6 months ago
Yudong Jin
c4a7966882
Bug fixes and improvements ( #1348 )
...
* Add "reference" for EN version. Bug fixes.
* Unify the figure reference as "the figure below" and "the figure above".
Bug fixes.
* Format the EN markdown files.
* Replace "" with <u></u> for EN version and bug fixes
* Fix biary_tree_dfs.png
* Fix biary_tree_dfs.png
* Fix zh-hant/biary_tree_dfs.png
* Fix heap_sort_step1.png
* Sync zh and zh-hant versions.
* Bug fixes
* Fix EN figures
* Bug fixes
* Fix the figure labels for EN version
6 months ago
khoaxuantu
cb32c525e7
feat: Add Ruby code - chapter "Sorting" ( #1333 )
...
* feat: add ruby code - chapter sorting
* Update radix_sort.rb
---------
Co-authored-by: Yudong Jin <krahets@163.com>
7 months ago
Martin Xu
59d07264fc
feat: add ruby code block - bucket sort ( #1285 )
...
* feat: add ruby code block - bucket sort
* Update codes/ruby/chapter_sorting/bucket_sort.rb
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
* Update codes/ruby/chapter_sorting/bucket_sort.rb
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
* Update bucket_sort.rb
---------
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
Co-authored-by: Yudong Jin <krahets@163.com>
7 months ago
洪鈞閔 ( jasper )
68f3a453e1
feat: add ruby code block - merge sort ( #1260 )
...
* feat(codes/ruby/chapter_sorting/merge_sort.rb): add merge_sort ruby file
* feat(codes/ruby/chapter_sorting/merge_sort.rb): modify comment space
* feat(codes/ruby/chapter_sorting/merge_sort.rb): set array default value
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
* feat(codes/ruby/chapter_sorting/merge_sort.rb): driver code add if logic
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
* feat(codes/ruby/chapter_sorting/merge_sort.rb): modify comment style
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
* feat(codes/ruby/chapter_sorting/merge_sort.rb): modify logic instruction
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
---------
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
7 months ago
洪鈞閔 ( jasper )
3f857db457
feat: add ruby code block - heap sort ( #1261 )
...
* feat(codes/ruby/chapter_sorting/heap_sort.rb): add heap_sort ruby file
* feat(codes/ruby/chapter_sorting/heap_sort.rb): modify comment space
* feat(codes/ruby/chapter_sorting/heap_sort.rb): modify code space style
* feat(codes/ruby/chapter_sorting/heap_sort.rb): modify logic instruction
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
* feat(codes/ruby/chapter_sorting/heap_sort.rb): driver code add if logic
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
---------
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
7 months ago
bluebean-cloud
a3950e1def
feat: Add ruby codes - chapter "Heap" ( #1300 )
...
* init heap Ruby
* feature: finish chapter heap for ruby
* fix delete heap.rb
* fix: Fix code style
* Update codes/ruby/chapter_heap/my_heap.rb
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
* Update codes/ruby/chapter_heap/top_k.rb
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
* fix: apply the suggested changes
* fix to_a
* Update my_heap.rb
---------
Co-authored-by: khoaxuantu <68913255+khoaxuantu@users.noreply.github.com>
Co-authored-by: Yudong Jin <krahets@163.com>
7 months ago
Yudong Jin
cfc273783b
feat: Add glossary and description for "哈希集合" ( #1310 )
7 months ago
khoaxuantu
9e7fbf249f
feat: add ruby code - chapter graph ( #1303 )
7 months ago
Yudong Jin
f616dac7da
Bug fixes and improvements ( #1298 )
...
* Fix is_empty() implementation in the stack and queue chapter
* Update en/CONTRIBUTING.md
* Remove "剩余" from the state definition of knapsack problem
* Sync zh and zh-hant versions
* Update the stylesheets of code tabs
* Fix quick_sort.rb
* Fix TS code
* Update chapter_paperbook
* Upload the manuscript of 0.1 section
* Fix binary_tree_dfs.rb
* Bug fixes
* Update README
* Update README
* Update README
* Update README.md
* Update README
* Sync zh and zh-hant versions
* Bug fixes
7 months ago
cy-by-side
499419e4ce
Create quick_sort.rb ( #1223 )
...
* Create quick_sort.rb
* Update quick_sort.rb
* Update quick_sort.rb
* Update quick_sort.rb
7 months ago
khoaxuantu
19488b13c4
feat: add ruby codes - chapter tree ( #1288 )
7 months ago
khoaxuantu
be9931c8a1
feat: Add Ruby code - chapter "Hashing" ( #1276 )
...
* feat: add ruby code - chapter hashing
* feat: add ruby code blocks - chapter hashing
* fix: comments
7 months ago
bluebean-cloud
92337671a6
feat: Add Ruby code - chapter "Searching" ( #1262 )
...
* create RUBY searching files & finish two_sum.rb
* finish linear_search.rb
* finish hashing_search.rb
* finish binary_search.rb
* finish binary_search_insertion.rb
* finish binary_search_edge.rb
* fix: change 'or' to '||'
* fix: Adjust the code style(ruby searching)
* fix: repair file name
* fix: Adjust the output format
* fix: fix 0...nums.length & delete useless require & change into __FILE__==0 block
7 months ago
cy-by-side
49e6a208f6
Create insertion_sort.rb ( #1222 )
...
* Create insertion_sort.rb
* Update insertion_sort.rb
* Update insertion_sort.rb
* Update insertion_sort.rb
7 months ago
khoaxuantu
6404a53fc6
chore: update driver code ( #1265 )
7 months ago
khoaxuantu
41dd677338
Add Ruby test CI ( #1242 )
...
* test: add test all Ruby code
* test: add ruby test ci
* Update ruby.yml
---------
Co-authored-by: Yudong Jin <krahets@163.com>
7 months ago
khoaxuantu
e121665772
feat: add ruby code - chapter stack and queue ( #1230 )
7 months ago
khoaxuantu
4fadad50ba
fix: Some Ruby code ( #1231 )
...
* fix: ruby code block - chapter computational complexity
* fix: ruby code - chapter array and linkedlist
7 months ago
Yudong Jin
6e570e2863
Update README for zh-hant version ( #1228 )
...
* Bug fixes
* Fix the term in heap figures
* Unify the font of the chapter covers for the zh, en, and zh-Hant version
* Sync the zh-hant vertion with the main branch
* Update README for testing
* Update README for testing
* Update README for testing
* Update README for zh, en, zh-hant version
* Fix the issue links
* Update README
* Update README
* edition -> version
7 months ago
khoaxuantu
043085d0ea
fix: adapt missing ruby style guide ( #1216 )
8 months ago
cy-by-side
c435d177a1
Create chapter_computational_complexity/iteration.rb ( #1207 )
...
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
khoaxuantu
fd580a184a
feat: Add Ruby code - chapter "computational complexity" ( #1212 )
...
* feat: add ruby code - chapter computational complexity
* feat: add ruby code blocks
8 months ago
khoaxuantu
5ce088de52
Fix inconsistent comments Ruby - chapter array and linked list ( #1202 )
...
* fix: inconsistent comments Ruby - chapter array and linked list
* fix: better Ruby code & comments
8 months ago
Yudong Jin
034ee65e9a
Fix bugs and harmonize the code comments ( #1199 )
...
* Fix the comment in array_deque.go
* Fix the comment in bucket_sort.c
* Translate the Java code comments to Chinese
* Bug fixes
* 二分查找 -> 二分搜尋
* Harmonize comments in `utils` between multiple programming languages
8 months ago
khoaxuantu
85ca4cce43
feat: Add ruby code - chapter "array & linked list" ( #1158 )
...
* feat: add ruby code chapter array & linked list
- array.rb
- linked_list.rb
- list.rb
- my_list.rb
* feat: add ruby code blocks
* chore: fix convention
8 months ago