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
Lanjing Gong
0e221540a3
fix(c): Fix malloc allocation of secondary pointers can lead to dump issues ( #1367 )
6 months ago
CarrotDLaw
9afbc9eda5
[Rust] Use arrays instead of vectors in Chapter 4.1 Array ( #1357 )
...
* [Rust] Use array in chapter 4.1
* docs: update comments
* docs: update comments
* docs: update comments
* fix: update slices
* docs: update comments
6 months ago
rongyi
840692acce
Idiomatic rust ( #1364 )
6 months ago
khoaxuantu
9e569cf520
feat: add ruby code - chapter "divide and conquer" ( #1361 )
6 months ago
rongyi
063a41fa7f
[Rust] No need to use mut iter ( #1356 )
...
* No need to use mut iter
* Update iter
6 months ago
rongyi
ebff1cce9f
Stick with swap ( #1352 )
6 months ago
rongyi
7a96f6a743
Fix panic when array's len is less than 2 ( #1353 )
6 months ago
khoaxuantu
1f606d6852
feat: add ruby codes - chapter greedy ( #1350 )
6 months ago
rongyi
56a165bf98
cargo fmt code ( #1349 )
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
Yudong Jin
8e60d12151
Add the initial EN translation for C++ code ( #1346 )
6 months ago
popozhu
9e4017b3fb
Update heap.md ( #1344 )
6 months ago
Yudong Jin
1c0f350ad6
translation: Add Python and Java code for EN version ( #1345 )
...
* Add the intial translation of code of all the languages
* test
* revert
* Remove
* Add Python and Java code for EN version
6 months ago
Yudong Jin
b5e198db7d
Add intial translation of the figures for the rest of the chapters ( #1340 )
7 months ago
Yudong Jin
0047934042
Update the EN figures for the chapter of preface, introduction, complexity analysis, data structure, array and linked list, stack and queue ( #1335 )
7 months ago
K3v123
cac10b07a1
Translation: Update binary_tree.md ( #1287 )
...
* Translation: Update binary_tree.md
simplified some parts while others added a few words to make it clearer
* translation: Update binary_tree.md
edited most of the stuff that QiLOL has suggestion, again thanks QiLOL for the review
* translation: Update binary_tree.md
changed to simpler words instead.
Did not update the 2nd part, as I'm waiting for Khrahets to make the final decision
7 months ago
cyyy
aebaa3ef02
translation: Update hash_collision.md ( #1153 )
...
* 1
* Move `docs-en` to `en/docs`
* Revert the moving operation
* 1
* Update hash_collision.md
---------
Co-authored-by: krahets <krahets@163.com>
7 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
Hongting Su
a6be0ffdc3
Update graph_traversal.md ( #1334 )
...
The implementation uses hash set to store all visited vertices instead of hash table. Change the description text from "hash table" to "hash set"
7 months ago
huangjikun
ee67d3e6a7
Maintain the same semantics as other languages in n_queens.go ( #1329 )
7 months ago
Yudong Jin
d2d49551e3
Bug fixes for the figures of zh-hant version. ( #1327 )
...
Reduce image file size by ~10%.
7 months ago
Yudong Jin
354b81cb6c
Add "reference" for EN version. Bug fixes. ( #1326 )
7 months ago
Yudong Jin
bb511e50e6
Add the initial translation of chapter "greedy" ( #1320 )
7 months ago
Yudong Jin
316b0e9215
Add the initial translation of chapter "appendix" ( #1325 )
7 months ago
Yudong Jin
baf30b1c92
Add the initial translation of chapter "dynamic programming" ( #1319 )
7 months ago
Yudong Jin
3eb929ca6d
Add the initial translation of chapter "backtracking" ( #1323 )
7 months ago
Yudong Jin
3bd416600e
translation: Add the initial translation of chapter "divide and conquer" ( #1322 )
...
* Add the initial translation of chapter "divide and conquer"
* Update index.md
* Update summary.md
* Update index.md
* Update summary.md
7 months ago
Yudong Jin
01a2e31203
Add the initial translation of chapter "sorting" ( #1321 )
7 months ago
Yudong Jin
96597b8aaa
Add the initial translation of chapter "searching" ( #1324 )
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
nuomi1
84bb11522e
feat: remove setup-swift ( #1312 )
...
* feat: remove setup-swift
* Test failure
* Test success
---------
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
Yudong Jin
870e3e5cb2
Bug fixes and improvements ( #1318 )
...
* Sync zh and zh-hant versions
* Update en/README.md
* Add a Q&A for chapter of introduction
* Update the callout headers
* Sync zh ang zh-hant versions
* Bug fixes
7 months ago
huangjikun
84b1ce2497
Fix incorrect method name in permutations_ii.go ( #1313 )
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
nuomi1
ca55e818a5
feat: update os and swift ( #1311 )
7 months ago
smilelsb
75873f0a05
fix(typo): Update linked_list.md ( #1307 )
...
它表现出先进后出的特性,对应栈;它表现出先进先出的特性,对应队列。
适当修改为“它表现的特性为先进后出”和“它表现的特性为先进先出”。
因为原本的语句第一次阅读出现“出先进后”的错误断句
7 months ago
Yudong Jin
cfc273783b
feat: Add glossary and description for "哈希集合" ( #1310 )
7 months ago
rongyi
a88c7b9862
Change remove to pop ( #1309 )
7 months ago
CharlesHsu
71b7cc8ef6
Enhance accessibility of MathJax script loading with `cdnjs` ( #1304 )
...
* Add fallback mechanism for MathJax script loading to enhance global accessibility.
* Update mkdocs.yml
* Update mathjax.js
---------
Co-authored-by: Yudong Jin <krahets@163.com>
7 months ago
khoaxuantu
9e7fbf249f
feat: add ruby code - chapter graph ( #1303 )
7 months ago
K3v123
69cb171dd8
Translation: Update index.md ( #1286 )
...
* Translation: Update index.md
simplified the words using "vibrant" instead. used illustrate instead of demonstrate because I'm thinking the image "illustrates" the concept.
* Translation: Update index.md
Changed to what yuelinxin has suggested. thanks for the suggestion.
7 months ago
Shyam Chen
1a99dd420f
feat(JavaScript): Add the workflow file for CI check ( #1296 )
...
* feat(JavaScript): Add the workflow file for CI check
* Apply suggestions from code review
Co-authored-by: krahets <krahets@163.com>
* Test failure
* Update javascript.yml
* Test success
---------
Co-authored-by: Yudong Jin <krahets@163.com>
7 months ago
krahets
a7f4340e55
Update README
7 months ago
huangjikun
54ced94e4f
Fix incorrect indexes in two_sum.go ( #1297 )
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
khoaxuantu
74f1a63e8c
feat: add ruby code blocks - chapter tree ( #1293 )
7 months ago