117 Commits

Author SHA1 Message Date
Yudong Jin
2213a59ff6 Update acknowledgements (#1842)
* Update acknowledgements.

* Sync zh and zh-hant versions.
2026-01-04 16:26:46 +08:00
Yudong Jin
f304c8385a Update buttons in the landing pages. (#1841) 2026-01-02 05:44:19 +08:00
Yudong Jin
0586e611b7 Update buttons in READMEs (#1840)
* Update READMEs

* Update buttons in READMEs.
2026-01-02 05:16:24 +08:00
Yudong Jin
666da25a2a Prepare 1.3.0 release (#1838)
* Update the contributors list.

* Update the version number.

* Sync zh and zh-hant versions.

* Move epub builder to the utils branch.

* Optimize all figure files using pngquant.

* Update copyright.

* Update Acknowledgements.

* Update buttons in README.
2026-01-02 03:37:38 +08:00
Yudong Jin
10f76bd59a Remove incomplete zig code from docs. (#1837) 2025-12-31 19:47:59 +08:00
Yudong Jin
2778a6f9c7 Translate all code to English (#1836)
* Review the EN heading format.

* Fix pythontutor headings.

* Fix pythontutor headings.

* bug fixes

* Fix headings in **/summary.md

* Revisit the CN-to-EN translation for Python code using Claude-4.5

* Revisit the CN-to-EN translation for Java code using Claude-4.5

* Revisit the CN-to-EN translation for Cpp code using Claude-4.5.

* Fix the dictionary.

* Fix cpp code translation for the multipart strings.

* Translate Go code to English.

* Update workflows to test EN code.

* Add EN translation for C.

* Add EN translation for CSharp.

* Add EN translation for Swift.

* Trigger the CI check.

* Revert.

* Update en/hash_map.md

* Add the EN version of Dart code.

* Add the EN version of Kotlin code.

* Add missing code files.

* Add the EN version of JavaScript code.

* Add the EN version of TypeScript code.

* Fix the workflows.

* Add the EN version of Ruby code.

* Add the EN version of Rust code.

* Update the CI check for the English version  code.

* Update Python CI check.

* Fix cmakelists for en/C code.

* Fix Ruby comments
2025-12-31 07:44:52 +08:00
Yudong Jin
45e1295241 Revisit the English version (#1835)
* Review the English version using Claude-4.5.

* Update mkdocs.yml

* Align the section titles.

* Bug fixes
2025-12-30 17:54:01 +08:00
Yudong Jin
2db8f741a8 Add starfield.js in the landing page. (#1833) 2025-12-27 05:33:45 +08:00
Yudong Jin
2487a27036 Update the Warp link. (#1815)
* Bug fixes.

* Update the Warp link.
2025-09-24 02:37:59 +08:00
Yudong Jin
44effb07e6 Bug fixes and improvements (#1813)
* Sync zh and zh-hant version.

* Add the Warp sponsor banner.

* Update README with acknowledgments and Warp recommendation

Added acknowledgments and a recommendation for the Warp terminal application.

* Update README.md

* Update links in README.md to use HTTPS

* Sync zh and zh-hant versions.

* Add special thanks for Warp spnsorship.

* Use official warp image link.
2025-09-23 20:44:38 +08:00
Beatrix CHAN
32dde5f82f translation: Update chapter_data_structure/classification_of_data_structure.md (#1800)
* Update classification_of_data_structure.md

* Update classification_of_data_structure.md

* Fix punctuation and formatting in data structure chapter

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2025-09-20 19:27:46 +08:00
Beatrix CHAN
301adcf416 translation: Update algorithms_are_everywhere.md (#1733)
* Improve English Translation for algorithms_are_everywhere.md

* Fixed line 5, 7, 10

* Keep initial alt text for binary search demonstration

* Update Example 3 English translation

* Update algorithms_are_everywhere.md

* Update algorithms_are_everywhere.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2025-07-10 06:54:30 +08:00
Magenta Qin
f47d371035 translation: Update EN translation for Introduction Chapter (#1739)
* doc: update en translation of algorithm_are_everywhere

* doc: update en translation of what_is_dsa

* doc: update en translation of summary

* feat: en translation for Q&A

* doc: update en translation to make it more concise

* Update algorithms_are_everywhere.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2025-07-10 06:38:30 +08:00
Magenta Qin
e058e14253 translation: Update en translation for preface (#1738)
* doc: update en translation for preface

* doc: fix blank line and other typos

* doc: fix period
2025-07-10 06:36:16 +08:00
Yudong Jin
e8dc4736a2 Bug fixes and improvements. (#1780)
* Fix the "尾递归优化" to "递归深度优化" in quick_sort.

* Update landing pages.

* Sync zh and zh-hant versions.

* Sync zh and zh-hant versions.
2025-07-10 06:32:25 +08:00
Dr.XYZ
ceec0eaa3a Specify currency unit in the "Price" row of the storage compar… (#1755)
* Specify currency unit as CNY in the "Price" row of the storage comparison table

* Revert changes to the English version

* Change currency unit to USD

* fix

* fix space

* Update ram_and_cache.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2025-06-12 20:57:47 +08:00
Seven Du
5a4aa8c554 en: fix picture file name (#1764) 2025-06-12 20:46:31 +08:00
Yudong Jin
db64108e5d Bug fixes (#1766)
* Sync zh and zh-hant versions.

* Bug fixes.
2025-06-12 20:45:41 +08:00
UMER JAHANGIR
e4f5787685 Translation: Update intro_to_dynamic_programming.md (#1751)
* Update intro_to_dynamic_programming.md

* Update intro_to_dynamic_programming.md

Made corrections and improvements to the introduction of dynamic programming based on reviewer suggestions.

* Update intro_to_dynamic_programming.md

Again, I made corrections and improvements to the introduction of dynamic programming based on reviewer suggestions.

* Update intro_to_dynamic_programming.md

chore: corrected missed feedback/suggestion from review
2025-05-17 17:14:43 +08:00
Colin Penn
e1f0903bf7 translation: Update n_queens_problem.md (#1676)
* Update n_queens_problem.md

* translation: Update n_queens_problem.md
2025-04-26 00:47:07 +08:00
Colin Penn
cc0852fae8 translation: update chapter_backtracking/summary.md (#1671)
* update chapter_backtracking/summary.md

* translation: update chapter_backtracking/summary.md

* translation: update chapter_backtracking/summary.md
2025-04-26 00:46:10 +08:00
Thomas
9997c2822c translation: backtracking algorithm (#1669)
* translation: backtracking algorithm

* resolve comments
2025-04-26 00:45:01 +08:00
Yudong Jin
d976116292 Bug fixes and improvements (#1735)
* Fix the definition of "complete binary tree" in binary_tree.md

* Update en/README.md
2025-04-15 16:57:31 +08:00
Yudong Jin
8e38c61455 Bug fixes and improvements (#1732)
* Bug fixes

* Sync zh and zh-hant versions.

* "入列列" -> "入佇列"

* Fix hello_algo_mindmap.png
2025-04-10 19:21:52 +08:00
Phoenix Xie
1db2001e9b tanslation: Update chapter_backtracking / permutations_problem.md (#1664)
* tanslation: Update chapter_backtracking / permutations_problem.md

* Update permutations_problem.md

* Update permutations_problem.md

* Update permutations_problem.md

* Update permutations_problem.md

* Update permutations_problem.md
2025-03-14 17:56:41 +08:00
Phoenix Xie
f45f847742 translation: Update chatpter_dynamic_programming / index.md (#1668)
* translation: Update chatpter_dynamic_programming / index.md

* Update index.md
2025-03-09 06:35:04 +08:00
Phoenix Xie
8e3b795599 translation: chapter_divide_and _conquer / Update hanota_problem.md (#1657)
* translation: chapter_divide_and _conquer / Update hanota_problem.md

* Update hanota_problem.md

* Update hanota_problem.md
2025-03-09 06:33:14 +08:00
Phoenix Xie
59bd843953 translation: Update chapter_divide_and_conquer / build_binary_tree_pr… (#1653)
* translation: Update chapter_divide_and_conquer / build_binary_tree_problem.md

* Update build_binary_tree_problem.md

preorder-> pre-order
inorder -> in-order

* Update build_binary_tree_problem.md

* Update build_binary_tree_problem.md

* Update build_binary_tree_problem.md

* Update build_binary_tree_problem.md

* Update build_binary_tree_problem.md

* Update build_binary_tree_problem.md
2025-03-09 06:32:30 +08:00
Phoenix Xie
2fcdd499ea translation: Update chapter_sorting / bubble_sort.md (#1646)
* translation: Update chapter_sorting / bubble_sort.md

* Update bubble_sort.md

line 3 updated. 'reminiscent of' - > 'like'

* Update bubble_sort.md

* Update bubble_sort.md

* Update bubble_sort.md

* Update bubble_sort.md
2025-03-09 06:29:03 +08:00
Peng Chen
18a5fec836 translate merge_sort.md (#1645)
* translate merge_sort.md

* translate merge_sort.md

* sub-array, postorder --> subarray, post-order

* Fix the typo

* fix the typo

* Update merge_sort.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2025-03-09 06:28:27 +08:00
qinmu
e3170c372a translation: update counting_sort.md (#1638)
* doc: update translations

* doc: update translations

* doc: update translations

* doc: optimize translations

* doc: optimize translations
2025-03-09 06:27:04 +08:00
Peng Chen
f5282698d5 Fix the comma (#1672) 2025-02-26 05:08:11 +08:00
Thomas
35c1885b3e translation update: divide and conquer (#1659)
* translation update: divide and conquer

* resolve comments

* resolve further comments
2025-02-25 04:51:26 +08:00
Phoenix Xie
34b01c12d6 translation: Update chatper_backtracking / index.md (#1655)
* translation: Update chatper_backtracking / index.md

* Update index.md
2025-02-25 04:49:33 +08:00
Peng Chen
0114546a31 translation: Update chapter_sorting/quick_sort.md (#1637)
* translation: Update chapter_sorting/quick_sort.md

* Update quick_sort.md

* translate quick_sort.md

* sub-array --> subarray

* update quick_sort.md
2025-02-25 04:38:55 +08:00
SamJin98
16fbc4979f translation: update insertion_sort.md (#1630)
* translation: update insertion_sort.md

* fix: revise insertion_sort.md translation

* fix: revert title name

* fix: updating `key` to `base`
2025-02-25 04:38:19 +08:00
Phoenix Xie
9dfd0217a3 translation: Update chapter_divide_and_conquer / summary.md (#1647)
* translation: Update chapter_divide_and_conquer / summary.md

* Update summary.md

* Update summary.md - line 8

line 8 'usually' -> 'typically'

* Update summary.md

line 9 was refined

* Update summary.md

line 10 'splitting' -> 'partitioning'
2025-02-15 21:24:29 +08:00
Thomas
e19276a5f1 translation: update bucket sort translation (#1639)
* update bucket sort translation

* resolve comments
2025-02-15 21:16:58 +08:00
Yuelin Xin
3a309c88af translation: optimize translation for selection sort (#1600)
* optimize translation for selection sort

* update selection sort translation
2025-02-15 21:14:17 +08:00
yanedie
4ff889c249 translation: Update binary_search_insertion.md and binary_search_edge.md (#1554)
* translation: Update binary_search_insertion.md

* fix: Clarify binary search insertion and multiple targets handling

* fix: Update binary search insertion title and nav link

* translation: update binary_search _edge.md

* Fix typos and clarify binary search edge cases

* fix: Revert binary search insertion title

* revert the chapter 10.2 title

* Update binary_search_insertion.md

* Update binary search insertion and binary search edge

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2025-02-14 22:14:59 +08:00
Phoenix Xie
eec69f45af translation: chapter_sorting/index.md (#1644) 2025-02-10 10:38:24 +08:00
K3v123
95bd58b0d0 Translation: Update index.md (#1633)
Chapter 12 of "divide and conquer
2025-02-10 10:36:17 +08:00
K3v123
2725e5a9dc Translation: Update radix_sort.md (#1632)
* Translation: Update radix_sort.md

* Translation Update radix_sort.md

fixed errors mentioned by yuelinxin
2025-02-10 10:35:52 +08:00
K3v123
387f93b56f Translation: Update heap_sort.md (#1631)
* Translation: Update heap_sort.md

* Translation: Update heap_sort.md

updated per yuelinxin's suggestion.
2025-02-10 10:35:18 +08:00
K3v123
3d12f84a01 translation: Update summary.md (#1629)
* translation: Update summary.md

* translation: Update summary.md

re-edited the radix sort part. my main worry is the radix sort and bucket sort, Im just wondering if I actually refined it well or not

* Translation: Update summary.md

updated as per  yuelinxin's suggestions.
2025-02-10 10:34:20 +08:00
Spark
4c181c45c5 translation: Update heap.md (#1604)
* heap.md

* Update heap.md

* Update heap.md
2025-02-03 16:50:10 +08:00
Thomas
28e43b4446 translation: update heap index translation (#1620)
* update heap index translation

* revise based on comments

* further adjustment on words
2025-02-01 19:35:37 +08:00
Yudong Jin
ac0da11157 Bug fixes and improvements (#1627)
* Update Copyright 2024 to 2025.

* Fix the flex of .profile-cell for mobile devices.

* Update performance_evaluation.md

* 抛出 -> 给出

* Sync zh and zh-hant version.

* Improve the landing page of the English version.

* Bug fixes

* Fix readme-typing-svg

* Update readme-typing-svg

* Bug fixes

* sync zh and zh-hant versions.
2025-01-21 20:00:58 +08:00
Sammy
5dc9dd879c translation: Update chapter_computational_complexity/performance_evaluation.md (#1557)
* Update chapter_computational_complexity/performance_evaluation.md

* fixed translation based on the suggestions
2025-01-21 19:33:23 +08:00
RafaelCaso
aa8a7f59d3 translation: update searching_algorithm_revisited.md (#1559)
* Update searching_algorithm_revisited.md

* Update searching_algorithm_revisited.md

fix typo in original commit
2025-01-21 19:19:58 +08:00