Commit 2778a6f
authored
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 comments1 parent 45e1295 commit 2778a6f
1,284 files changed
Lines changed: 71552 additions & 3270 deletions
File tree
- .github/workflows
- codes/python
- docs
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_greedy
- chapter_introduction
- chapter_preface
- chapter_searching
- en
- codes
- cpp
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- utils
- csharp
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- utils
- c
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- utils
- dart
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- utils
- go
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- pkg
- javascript
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- modules
- java
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- utils
- kotlin
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- utils
- python
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- modules
- ruby
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- utils
- rust
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- src
- include
- swift
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- utils
- typescript
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
- modules
- docs
- chapter_appendix
- chapter_array_and_linkedlist
- chapter_backtracking
- chapter_computational_complexity
- chapter_data_structure
- chapter_divide_and_conquer
- chapter_dynamic_programming
- chapter_graph
- chapter_greedy
- chapter_hashing
- chapter_heap
- chapter_introduction
- chapter_preface
- chapter_searching
- chapter_sorting
- chapter_stack_and_queue
- chapter_tree
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
| |||
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
58 | | - | |
| 67 | + | |
59 | 68 | | |
60 | 69 | | |
61 | 70 | | |
62 | | - | |
| 71 | + | |
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
66 | | - | |
| 75 | + | |
67 | 76 | | |
68 | 77 | | |
69 | | - | |
| 78 | + | |
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
| |||
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
58 | | - | |
| 67 | + | |
59 | 68 | | |
60 | 69 | | |
61 | 70 | | |
62 | | - | |
| 71 | + | |
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
66 | | - | |
| 75 | + | |
67 | 76 | | |
68 | 77 | | |
69 | | - | |
| 78 | + | |
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | | - | |
| 37 | + | |
33 | 38 | | |
34 | | - | |
| 39 | + | |
35 | 40 | | |
36 | | - | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | | - | |
12 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | | - | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | | - | |
| 33 | + | |
29 | 34 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | | - | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | | - | |
| 30 | + | |
26 | 31 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | | - | |
12 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | | - | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | | - | |
| 32 | + | |
28 | 33 | | |
29 | | - | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | | - | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | | - | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | | - | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | | - | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | | - | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | | - | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | | - | |
| 46 | + | |
0 commit comments