2088 Commits

Author SHA1 Message Date
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
0a3d3940c4 Merge pull request #1681 from rongyi/main
tiny fix, more readable rust
2025-03-11 16:56:33 +08:00
bd03b8c66e tiny fix, more readable rust 2025-03-10 17:22:06 +08:00
7e904c8ff6 Update counting_sort.py (#1677)
Since the max function is called to find the maximum value, it doesn't seem necessary to traverse the list and call the max function several times to select the larger value.
2025-03-09 06:39:32 +08:00
82fa8cb222 Fix the typo in backtracking/summary.md (#1673) 2025-03-09 06:36:17 +08:00
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
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
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
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
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
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
f5282698d5 Fix the comma (#1672) 2025-02-26 05:08:11 +08:00
98cd3a8076 fix: update the implementation of simple_hash.js and .ts (#1656) 2025-02-25 04:54:48 +08:00
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
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
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
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
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
e19276a5f1 translation: update bucket sort translation (#1639)
* update bucket sort translation

* resolve comments
2025-02-15 21:16:58 +08:00
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
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
00738f5bb4 idomatic rust (#1652)
* idomatic rust

* Update linkedlist queue/deque
2025-02-10 10:40:29 +08:00
eec69f45af translation: chapter_sorting/index.md (#1644) 2025-02-10 10:38:24 +08:00
95bd58b0d0 Translation: Update index.md (#1633)
Chapter 12 of "divide and conquer
2025-02-10 10:36:17 +08:00
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
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
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
4c181c45c5 translation: Update heap.md (#1604)
* heap.md

* Update heap.md

* Update heap.md
2025-02-03 16:50:10 +08:00
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
e36453ac25 replace std::mem::replace with std::mem::take according to clippy sugguestion (#1611)
Co-authored-by: frost.wong <happyhackerwqc@foxmail.com>
2025-01-26 06:09:26 +08:00
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
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
4db90555a7 Update binary_tree.md (#1618)
* Update binary_tree.md

* Update binary_tree.md

Thank you for the fix!

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2025-01-21 19:29:09 +08:00
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
18027ee26c add notation of m and n in analysis of complexity (#1621)
* fix: notation of m and n in analysis of complexity

As title, complexity variable is not defined previously.

* Update dp_solution_pipeline.md

* Update dp_solution_pipeline.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2025-01-21 19:18:03 +08:00
98daefa67a Update heap_sort.md (#1626) 2025-01-21 18:51:12 +08:00
Rui
1a8b4f6364 Update linkedlist_deque.py (#1625)
According to PEP 8, "Comparisons to singletons like None should always be done with is or is not, never the equality operators."
2025-01-21 18:46:41 +08:00
9c78c513c2 translation: ram and cache (#1591)
* doc: en translation for ram and cache

* doc: update currency from yuan to dollars

* doc: update EOF character

* doc: remove the redundant EOS character

* doc: remove redundant space character and polish several translations

* doc: polish translations

* doc: remove unnecessary 'the' and update translations

* Update ram_and_cache.md

* Update ram_and_cache.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2025-01-14 03:19:12 +08:00
828405d234 '丟擲' is not common for zh-hant in this place, '說' or like zh useing '拋出' will be a better translation. (#1607) 2025-01-14 03:09:40 +08:00
a2cec10e7f translation: optimized translation of sorting/sorting_algorithm.md (#1590)
* optimize sorting_algo

* update terminology
2025-01-14 03:04:51 +08:00
7503a33e8c fix rust linked list (#1609) 2025-01-14 02:58:17 +08:00
2a955f937c Bug fixes and improvements (#1602)
* Fix the search panel on mobile devices.

* Fix the search panel for mobile devices.

* Update about_the_book.md
2025-01-02 21:50:42 +08:00
636b0738fa fix(hash_collision): typo of zh-Hant translation in "線性探查" section (#1599)
* Fix typo of zh-Hant translation in "線性探查" section

* Fix the same typo in hash summary Q&A section

* Update hash_collision.md

* Update summary.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-12-31 19:20:44 +08:00
a36b301464 translation: Update chap_tree/summary.md (#1555)
* Update summary.md

* Update summary.md

* change_2_pull_request
2024-12-31 19:15:04 +08:00
292b107af2 fix(bubble-sort): update incorrect variable name in test output (#1595) 2024-12-20 17:15:22 +08:00
4db5c19011 translation: graph summary updates (#1587)
* translation: graph summary updates

* resolve grammar issues
2024-12-12 20:11:28 +08:00
356cc35e8a Update the links to the zh-hant version of the PDF. (#1588) 2024-12-07 23:01:46 +08:00
dad0a3fd95 Prepare 1.2.0 release (#1585)
* Sync zh and zh-hant versions

* Update the list of contributors.

* Update time_complexity_simple_example.png

* Reduce size of the RGBA images for zh-hant version.

* Sync the zh-hant version of terminology.md

* Prepare 1.2.0 release

* Update the contributors list.
1.2.0
2024-12-06 09:03:43 +08:00
e41b0a3156 Fix the function for printing the queue (#1573)
* renfined!

* Add toArray() function to array_queue.c and array_deque.c

---------

Co-authored-by: Xi-Row <astruggle123@putlook.com>
Co-authored-by: krahets <krahets@163.com>
2024-12-04 19:38:30 +08:00
b6939da46c translation: Update replace_linear_by_hashing.md (#1551)
* translation: Update replace_linear_by_hashing.md

refined some parts of it.

* Update replace_linear_by_hashing.md

* Update replace_linear_by_hashing.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-12-04 18:05:03 +08:00