krahets
c1fc19d3ca
Merge branch 'main' into dev
4 days ago
krahets
7823b92ef8
Fix two_sum_brute_force.png
4 days ago
Fleey
6a74972080
fix(lang: c, chapters: searching, sorting): Some serious errors ( #1531 )
...
* fix: correct hash table insertion
* Use a pointer to a pointer instead of a single pointer in the insert function, ensuring proper updates to the hash table
* Bug fixes: This fixes issues with empty results.
* fix: correct issues in radix sort
* Replaced loop-based array copy with memcpy to ensure efficient memory copying in countingSortDigit
* Fixed a bug in radixSort where the maximum value search loop skipped the last element
* Bug fix: Ensures all elements are checked when determining the maximum value in the array
* perf: improve memory management by adding explicit memory release
* revert: Revert to using the old loop override array method and drop specific api's like memcpy.
7 days ago
Yudong Jin
73eab4c0ec
Update reviewer profiles ( #1547 )
...
* Sync zh and zh-hant versions.
* Remove the polyfill.io link from mkdocs.yml
* Update contributors' info for code reviewers and en/zh-hant versions reviewers.
* Fix graph.md
* Update avatars for English version reviewers.
* Sync zh and zh-hant versions.
1 week ago
krahets
09dd40a3d0
Sync zh and zh-hant versions.
1 week ago
krahets
9bb78cbe4f
Update avatars for English version reviewers.
1 week ago
krahets
4040c8ec39
Fix graph.md
1 week ago
Flamingo
57cf6b1ea6
fix some typos ( #1540 )
2 weeks ago
hpstory
b3b10f2300
fix(csharp): priority queue comparer initialization ( #1542 )
2 weeks ago
rongyi
68a61f23d5
make dfs same as c/c++ and other small improvement ( #1543 )
2 weeks ago
qinmu
7d708b4fce
doc: translate chapter_tree/index.md to English ( #1501 )
...
* doc: translate chapter_tree/index.md to English
* doc: update translations
3 weeks ago
krahets
84e2aa1b71
Update contributors' info for code reviewers and en/zh-hant versions reviewers.
3 weeks ago
rongyi
ef3010bd77
idomatic structure rust code, no include macro ( #1528 )
3 weeks ago
Akshit
0c60037e56
Update avl_tree.md ( #1524 )
...
Syntax for avl trees updated
1 month ago
krahets
77ec00df5f
Remove the polyfill.io link from mkdocs.yml
2 months ago
Yudong Jin
5849ae4ada
Sync zh and zh-hant versions. ( #1523 )
2 months ago
krahets
85da8153dd
Sync zh and zh-hant versions.
2 months ago
ZhongGuanbin
dedb4aaced
Update linked_list.md ( #1521 )
...
双向链表的Dart代码可能存在语法错误,因为前驱节点和后继节点可能为空,所以需要添加问号,否则无法通过空安全检查
2 months ago
Spark
40d13cb81f
doc: translate chapter_tree/binary_tree_traversal.md ( #1510 )
...
* Update binary_tree_traversal.md
* Update binary_tree_traversal.md with review
2 months ago
bongbongbakudan
c12d01a752
Update my_list.js ( #1511 )
...
修改insert注释
2 months ago
steventimes
2737357242
translation: refine translation of binary_search_tree.md ( #1484 )
...
* translation_refine_bst
Signed-off-by: steventimes <stevenyang0316@gmail.com>
* Update binary_search_tree.md
* Update binary_search_tree.md
---------
Signed-off-by: steventimes <stevenyang0316@gmail.com>
Co-authored-by: Yudong Jin <krahets@163.com>
2 months ago
Enlightenus
e0d617edbb
translation: refine translation of hash_map.md ( #1483 )
...
* Update hash_map.md
* Update hash_map.md
* Update hash_map.md to improve concise
2 months ago
rongyi
7a345fc66b
Idiomatic rust ( #1505 )
2 months ago
Yuelin Xin
1cc310a682
refine graph_traversal.md ( #1400 )
3 months ago
Yuelin Xin
eecf6bac3f
refine graph_operations.md ( #1399 )
3 months ago
Risun
2cd2a94ce6
fix(backtracking): minor mistake in Rust code for subset_sum_ii ( #1487 )
...
* fix(backtracking): minor mistake in Rust code for subset_sum_ii
* Update subset_sum_ii.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
3 months ago
rongyi
8a6ce26f6a
idiomatic rust ( #1485 )
...
* idomatic rust
* More idiomatic rust
* make rust code more idiomatic
* update
3 months ago
ZhongYuuu
6b2c38cae4
[cpp] Stick with swap ( #1474 )
...
* [cpp] Stick with swap
* [cpp] Stick with swap
3 months ago
Seven Du
f4baa7d9de
add a period at the end ( #1478 )
3 months ago
Seven Du
fc7efa28a7
remove extra space ( #1477 )
...
* remove extra space
* Update max_capacity_problem.md
* Update algorithms_are_everywhere.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
3 months ago
溯渺
0bff488383
Update binary_tree.md ( #1454 )
...
* Update binary_tree.md
关于完全二叉树严谨性补充:完美二叉树是一棵特殊的完全二叉树,完全二叉树的最底层节点可以是满的。
* Update binary_tree.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
4 months ago
Enlightenus
f0755bdfa6
translation: Refine the first paragraph of Time Complexity ( #1471 )
...
* Update time_complexity.md
Update first paragraph to avoid confusion between time complexity and run time
* Update time_complexity.md
Refine the first paragraph to keep the definition of time complexity
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
4 months ago
Yudong Jin
c9041c5c5e
Bug fixes and improvements ( #1472 )
...
* preorder, inorder, postorder -> pre-order, in-order, post-order
* Bug fixes
* Bug fixes
* Update what_is_dsa.md
* Sync zh and zh-hant versions
* Sync zh and zh-hant versions.
* Update performance_evaluation.md and time_complexity.md
* Add @khoaxuantu to the landing page.
* Sync zh and zh-hant versions
* Add @ khoaxuantu to the landing page of zh-hant and en versions.
* Sync zh and zh-hant versions.
* Small improvements
* @issue : #1450 (#1453 )
Fix writing "obsecure" to "obscure"
Co-authored-by: Gaya <kheliligaya@gmail.com>
* Update the definition of "adaptive sorting".
* Update n_queens_problem.md
* Sync zh, zh-hant, and en versions.
---------
Co-authored-by: Gaya-Khelili <50716339+Gaya-Khelili@users.noreply.github.com>
Co-authored-by: Gaya <kheliligaya@gmail.com>
4 months ago
Yuelin Xin
89a911583d
translation: refine translation of chapter_heap/summary.md ( #1383 )
...
* refine translation of heap/summary.md
* Update summary.md
* Update summary.md
4 months ago
Estevão Goerll
b884d385e3
fix: right-left and left-right inversion for the English version of AVL Tree ( #1448 )
...
* Fix right-left and left-right inversion on AVL Binary Tree
* Update avl_tree.md
* Update avl_tree.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
4 months ago
Rui
2758e06374
remove unnecessary type conversions ( #1411 )
4 months ago
Yuelin Xin
ff6d42bd9b
translation: refine translation of chapter_graph/graph.md ( #1385 )
...
* refine translation of graph/graph.md
* Update graph.md
4 months ago
Flamingo
f4a6d2127c
fix: correct comment translation in binary_tree.md ( #1406 )
5 months ago
Rui
27d59f65a6
fix invalid code comment ( #1405 )
...
* Remove invalid comment
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
5 months ago
Flamingo
4190eca41a
fix(Go): code comment error ( #1404 )
...
* fix: comment error
* fix: comment error in zn-hant version
5 months ago
Yuelin Xin
a7c241609f
translation: refine translation of chapter_graph/index.md ( #1384 )
...
* refine translation of graph/index.md
* Update index.md
5 months ago
qinmu
9f0bec5f50
translation: optimize the translation of hash_map.md ( #1358 )
...
* feat: translate hash_map.md to English
* doc: remove redundant lines and polish words
* chore: remove redundant line
* doc: update hash_map translation
* doc: refine expressions
5 months ago
Deming Chu
427c7ac59d
translation: refine the translation of data_structure/summary ( #1374 )
...
* feat: translate data_structure/summary to English
* fix space issue
* replace the encoding naming (krahets comment)
* refine (K3v123 comment)
5 months ago
rongyi
017b95f003
Make rust more idomatic ( #1386 )
5 months ago
nil
0774920d7f
fix(Go): Update array_queue.go and array_deque.go ( #1362 )
...
* 🐞 fix: 队列为空时不应该操作指向
* 🧪 test: 添加pop测试用例
* 🔧 build: 修改testify依赖包
* 🐞 fix: 双向队列为空时,pop不操作指向
* 🔧 build:
Remove third-party packages
* Delete codes/go/go.sum
---------
Co-authored-by: Yudong Jin <krahets@163.com>
6 months ago
Yudong Jin
3f4220de81
Bug fixes and improvements ( #1380 )
...
* preorder, inorder, postorder -> pre-order, in-order, post-order
* Bug fixes
* Bug fixes
* Update what_is_dsa.md
* Sync zh and zh-hant versions
* Sync zh and zh-hant versions.
* Update performance_evaluation.md and time_complexity.md
* Add @khoaxuantu to the landing page.
* Sync zh and zh-hant versions
* Add @ khoaxuantu to the landing page of zh-hant and en versions.
6 months ago
Yudong Jin
39a6890b7e
Add intial translation of the figures for the chapters of backtracking, divide and conquer, appendix ( #1337 )
...
* Add intial translation of the figures for the chapters of backtracking, divide and conquer, appendix
* Update
6 months ago
Yudong Jin
59839c2437
Add intial translation of the figures for the chapters of graph, searching, and sorting ( #1338 )
...
* Add intial translation of the figures for the chapters of graph, searching, and sorting
* Update
6 months ago
Yudong Jin
8b3e705c71
Add intial translation of the figures for the chapters of hashing, tree, and heap ( #1339 )
...
* Add intial translation of the figures for the chapters of hashing, tree, and graph
* Update
6 months ago
Yudong Jin
ae2ff7a68a
Add intial translation of the figures for the chapters of dynamic programming, greedy ( #1336 )
...
* Add intial translation of the figures for the chapters of dynamic programming, greedy
* Update
6 months ago