Commit graph

59 commits

Author SHA1 Message Date
qinmu
f33b254f79
Merge dbad1087b1 into 2737357242 2024-09-12 12:25:04 -04:00
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>
2024-09-12 17:46:08 +08:00
Enlightenus
e0d617edbb
translation: refine translation of hash_map.md (#1483)
Some checks failed
Rust / build (ubuntu-latest) (push) Successful in 1m59s
Rust / build (macos-latest) (push) Has been cancelled
Rust / build (windows-latest) (push) Has been cancelled
* Update hash_map.md

* Update hash_map.md

* Update hash_map.md to improve concise
2024-09-12 17:39:54 +08:00
qinmu
dbad1087b1 doc: translate chapter_tree/index.md to English 2024-09-04 22:07:28 +08:00
Yuelin Xin
1cc310a682
refine graph_traversal.md (#1400) 2024-09-02 14:09:27 +08:00
Yuelin Xin
eecf6bac3f
refine graph_operations.md (#1399) 2024-09-02 14:08:59 +08:00
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>
2024-08-01 15:58:39 +08:00
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>
2024-07-30 16:56:59 +08:00
Yuelin Xin
89a911583d
translation: refine translation of chapter_heap/summary.md (#1383)
* refine translation of heap/summary.md

* Update summary.md

* Update summary.md
2024-07-26 16:50:22 +08:00
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>
2024-07-26 16:48:35 +08:00
Yuelin Xin
ff6d42bd9b
translation: refine translation of chapter_graph/graph.md (#1385)
* refine translation of graph/graph.md

* Update graph.md
2024-07-12 18:20:01 +08:00
Flamingo
f4a6d2127c
fix: correct comment translation in binary_tree.md (#1406) 2024-07-01 15:10:46 +08:00
Yuelin Xin
a7c241609f
translation: refine translation of chapter_graph/index.md (#1384)
* refine translation of graph/index.md

* Update index.md
2024-06-19 15:45:29 +08:00
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
2024-06-13 15:31:15 +08:00
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)
2024-06-13 15:20:29 +08:00
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.
2024-05-31 16:39:06 +08:00
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
2024-05-31 16:01:23 +08:00
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
2024-05-31 16:00:43 +08:00
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
2024-05-31 15:59:59 +08:00
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
2024-05-31 15:58:43 +08:00
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>
2024-05-18 18:19:19 +08:00
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
2024-05-15 18:31:48 +08:00
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
2024-05-06 14:44:48 +08:00
Yudong Jin
8e60d12151
Add the initial EN translation for C++ code (#1346) 2024-05-06 13:31:46 +08:00
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
2024-05-06 05:21:51 +08:00
Yudong Jin
b5e198db7d
Add intial translation of the figures for the rest of the chapters (#1340) 2024-05-04 19:24:41 +08:00
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) 2024-05-04 18:58:20 +08:00
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
2024-05-03 19:50:36 +08:00
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>
2024-05-03 19:50:20 +08:00
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"
2024-05-03 19:41:50 +08:00
Yudong Jin
354b81cb6c
Add "reference" for EN version. Bug fixes. (#1326) 2024-05-01 06:49:33 +08:00
Yudong Jin
bb511e50e6
Add the initial translation of chapter "greedy" (#1320) 2024-05-01 05:57:39 +08:00
Yudong Jin
316b0e9215
Add the initial translation of chapter "appendix" (#1325) 2024-05-01 05:57:29 +08:00
Yudong Jin
baf30b1c92
Add the initial translation of chapter "dynamic programming" (#1319) 2024-05-01 05:57:15 +08:00
Yudong Jin
3eb929ca6d
Add the initial translation of chapter "backtracking" (#1323) 2024-05-01 05:57:01 +08:00
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
2024-05-01 05:56:54 +08:00
Yudong Jin
01a2e31203
Add the initial translation of chapter "sorting" (#1321) 2024-05-01 05:56:35 +08:00
Yudong Jin
96597b8aaa
Add the initial translation of chapter "searching" (#1324) 2024-05-01 05:56:27 +08:00
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
2024-04-30 15:52:05 +08:00
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.
2024-04-23 21:23:16 +08:00
krahets
a7f4340e55 Update README 2024-04-22 17:14:14 +08:00
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
2024-04-22 02:26:32 +08:00
K3v123
411a4b8a46
translation: Update chapter_graph/index.md (#1266)
* Translation: Update index.md

Just changed the words a little. honestly the Machine translation is good already.

* Translation: Update index.md

changed every to each.

* Translation: Update index.md

changed back to vast.
2024-04-15 18:45:07 +08:00
Yudong Jin
b0d6fa0f38
translation: Add the contributing guidelines for Chinese-to-English (#1238)
* Add the contributing guidelines for Chinese-to-English

* Update

* Update

* Bug fixes

* Update

* Comments addressed

* Comments addressed

* Comments addressed

* Refine the tip

* Update en/README.md

* Fix line breaks

* Fix the tip

* Update README
2024-04-12 19:14:49 +08:00
Yudong Jin
b2f0d4603d
Many bug fixes and improvements (#1270)
* Add Ruby and Kotlin icons
Add the avatar of @curtishd

* Update README

* Synchronize zh-hant and zh versions.

* Translate the pythontutor blocks to traditional Chinese

* Fix en/mkdocs.yml

* Update the landing page of the en version.

* Fix the Dockerfile

* Refine the en landingpage

* Fix en landing page

* Reset the README.md
2024-04-11 20:18:19 +08:00
Yudong Jin
07977184ad
Add the chapter of hello algo for the en version (#1269) 2024-04-11 20:07:30 +08:00
Spark
ba1df4a3e8
translation: chapter_hashing/summary.md (#1201)
* Update summary.md

* Update summary.md with suggestions

* Update summary.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-04-07 19:04:01 +08:00
Nan Lei
0503e740ad
Update symbol format in LaTex of number encoding section (#1193) 2024-04-07 01:33:42 +08:00
krahets
931d8f5089 Update README 2024-04-06 04:05:39 +08:00
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
2024-04-06 03:57:46 +08:00