mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-27 02:27:12 +00:00
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
This commit is contained in:
+66
-66
@@ -37,111 +37,111 @@ extra:
|
||||
|
||||
# Page tree
|
||||
nav:
|
||||
- Before starting:
|
||||
- Before Starting:
|
||||
- chapter_hello_algo/index.md
|
||||
- Chapter 0. Preface:
|
||||
# [icon: material/book-open-outline]
|
||||
- chapter_preface/index.md
|
||||
- 0.1 About this book: chapter_preface/about_the_book.md
|
||||
- 0.2 How to use this book: chapter_preface/suggestions.md
|
||||
- 0.1 About This Book: chapter_preface/about_the_book.md
|
||||
- 0.2 How to Use This Book: chapter_preface/suggestions.md
|
||||
- 0.3 Summary: chapter_preface/summary.md
|
||||
- Chapter 1. Introduction to algorithms:
|
||||
- Chapter 1. Encounter With Algorithms:
|
||||
# [icon: material/calculator-variant-outline]
|
||||
- chapter_introduction/index.md
|
||||
- 1.1 Algorithms are everywhere: chapter_introduction/algorithms_are_everywhere.md
|
||||
- 1.2 What is an algorithm: chapter_introduction/what_is_dsa.md
|
||||
- 1.1 Algorithms Are Everywhere: chapter_introduction/algorithms_are_everywhere.md
|
||||
- 1.2 What Is an Algorithm: chapter_introduction/what_is_dsa.md
|
||||
- 1.3 Summary: chapter_introduction/summary.md
|
||||
- Chapter 2. Complexity analysis:
|
||||
- Chapter 2. Complexity Analysis:
|
||||
# [icon: material/timer-sand]
|
||||
- chapter_computational_complexity/index.md
|
||||
- 2.1 Algorithm efficiency evaluation: chapter_computational_complexity/performance_evaluation.md
|
||||
- 2.2 Iteration and recursion: chapter_computational_complexity/iteration_and_recursion.md
|
||||
- 2.3 Time complexity: chapter_computational_complexity/time_complexity.md
|
||||
- 2.4 Space complexity: chapter_computational_complexity/space_complexity.md
|
||||
- 2.1 Algorithm Efficiency Evaluation: chapter_computational_complexity/performance_evaluation.md
|
||||
- 2.2 Iteration and Recursion: chapter_computational_complexity/iteration_and_recursion.md
|
||||
- 2.3 Time Complexity: chapter_computational_complexity/time_complexity.md
|
||||
- 2.4 Space Complexity: chapter_computational_complexity/space_complexity.md
|
||||
- 2.5 Summary: chapter_computational_complexity/summary.md
|
||||
- Chapter 3. Data structures:
|
||||
- Chapter 3. Data Structures:
|
||||
# [icon: material/shape-outline]
|
||||
- chapter_data_structure/index.md
|
||||
- 3.1 Classification of data structures: chapter_data_structure/classification_of_data_structure.md
|
||||
- 3.2 Basic data types: chapter_data_structure/basic_data_types.md
|
||||
- 3.3 Number encoding *: chapter_data_structure/number_encoding.md
|
||||
- 3.4 Character encoding *: chapter_data_structure/character_encoding.md
|
||||
- 3.1 Classification of Data Structures: chapter_data_structure/classification_of_data_structure.md
|
||||
- 3.2 Basic Data Types: chapter_data_structure/basic_data_types.md
|
||||
- 3.3 Number Encoding *: chapter_data_structure/number_encoding.md
|
||||
- 3.4 Character Encoding *: chapter_data_structure/character_encoding.md
|
||||
- 3.5 Summary: chapter_data_structure/summary.md
|
||||
- Chapter 4. Array and linked list:
|
||||
- Chapter 4. Array and Linked List:
|
||||
# [icon: material/view-list-outline]
|
||||
- chapter_array_and_linkedlist/index.md
|
||||
- 4.1 Array: chapter_array_and_linkedlist/array.md
|
||||
- 4.2 Linked list: chapter_array_and_linkedlist/linked_list.md
|
||||
- 4.2 Linked List: chapter_array_and_linkedlist/linked_list.md
|
||||
- 4.3 List: chapter_array_and_linkedlist/list.md
|
||||
- 4.4 Memory and cache *: chapter_array_and_linkedlist/ram_and_cache.md
|
||||
- 4.4 Memory and Cache *: chapter_array_and_linkedlist/ram_and_cache.md
|
||||
- 4.5 Summary: chapter_array_and_linkedlist/summary.md
|
||||
- Chapter 5. Stack and queue:
|
||||
- Chapter 5. Stack and Queue:
|
||||
# [icon: material/stack-overflow]
|
||||
- chapter_stack_and_queue/index.md
|
||||
- 5.1 Stack: chapter_stack_and_queue/stack.md
|
||||
- 5.2 Queue: chapter_stack_and_queue/queue.md
|
||||
- 5.3 Double-ended queue: chapter_stack_and_queue/deque.md
|
||||
- 5.3 Double-Ended Queue: chapter_stack_and_queue/deque.md
|
||||
- 5.4 Summary: chapter_stack_and_queue/summary.md
|
||||
- Chapter 6. Hashing:
|
||||
# [icon: material/table-search]
|
||||
- chapter_hashing/index.md
|
||||
- 6.1 Hash table: chapter_hashing/hash_map.md
|
||||
- 6.2 Hash collision: chapter_hashing/hash_collision.md
|
||||
- 6.3 Hash algorithm: chapter_hashing/hash_algorithm.md
|
||||
- 6.1 Hash Table: chapter_hashing/hash_map.md
|
||||
- 6.2 Hash Collision: chapter_hashing/hash_collision.md
|
||||
- 6.3 Hash Algorithm: chapter_hashing/hash_algorithm.md
|
||||
- 6.4 Summary: chapter_hashing/summary.md
|
||||
- Chapter 7. Tree:
|
||||
# [icon: material/graph-outline]
|
||||
- chapter_tree/index.md
|
||||
- 7.1 Binary tree: chapter_tree/binary_tree.md
|
||||
- 7.2 Binary tree traversal: chapter_tree/binary_tree_traversal.md
|
||||
- 7.3 Array representation of tree: chapter_tree/array_representation_of_tree.md
|
||||
- 7.4 Binary search tree: chapter_tree/binary_search_tree.md
|
||||
- 7.5 AVL tree *: chapter_tree/avl_tree.md
|
||||
- 7.1 Binary Tree: chapter_tree/binary_tree.md
|
||||
- 7.2 Binary Tree Traversal: chapter_tree/binary_tree_traversal.md
|
||||
- 7.3 Array Representation of Tree: chapter_tree/array_representation_of_tree.md
|
||||
- 7.4 Binary Search Tree: chapter_tree/binary_search_tree.md
|
||||
- 7.5 AVL Tree *: chapter_tree/avl_tree.md
|
||||
- 7.6 Summary: chapter_tree/summary.md
|
||||
- Chapter 8. Heap:
|
||||
# [icon: material/family-tree]
|
||||
- chapter_heap/index.md
|
||||
- 8.1 Heap: chapter_heap/heap.md
|
||||
- 8.2 Building a heap: chapter_heap/build_heap.md
|
||||
- 8.3 Top-k problem: chapter_heap/top_k.md
|
||||
- 8.2 Building a Heap: chapter_heap/build_heap.md
|
||||
- 8.3 Top-K Problem: chapter_heap/top_k.md
|
||||
- 8.4 Summary: chapter_heap/summary.md
|
||||
- Chapter 9. Graph:
|
||||
# [icon: material/graphql]
|
||||
- chapter_graph/index.md
|
||||
- 9.1 Graph: chapter_graph/graph.md
|
||||
- 9.2 Basic operations on graphs: chapter_graph/graph_operations.md
|
||||
- 9.3 Graph traversal: chapter_graph/graph_traversal.md
|
||||
- 9.2 Basic Operations on Graphs: chapter_graph/graph_operations.md
|
||||
- 9.3 Graph Traversal: chapter_graph/graph_traversal.md
|
||||
- 9.4 Summary: chapter_graph/summary.md
|
||||
- Chapter 10. Searching:
|
||||
# [icon: material/text-search]
|
||||
- chapter_searching/index.md
|
||||
- 10.1 Binary search: chapter_searching/binary_search.md
|
||||
- 10.2 Binary search insertion: chapter_searching/binary_search_insertion.md
|
||||
- 10.3 Binary search edge cases: chapter_searching/binary_search_edge.md
|
||||
- 10.4 Hash optimization strategy: chapter_searching/replace_linear_by_hashing.md
|
||||
- 10.5 Search algorithms revisited: chapter_searching/searching_algorithm_revisited.md
|
||||
- 10.1 Binary Search: chapter_searching/binary_search.md
|
||||
- 10.2 Binary Search Insertion: chapter_searching/binary_search_insertion.md
|
||||
- 10.3 Binary Search Edge Cases: chapter_searching/binary_search_edge.md
|
||||
- 10.4 Hash Optimization Strategy: chapter_searching/replace_linear_by_hashing.md
|
||||
- 10.5 Search Algorithms Revisited: chapter_searching/searching_algorithm_revisited.md
|
||||
- 10.6 Summary: chapter_searching/summary.md
|
||||
- Chapter 11. Sorting:
|
||||
# [icon: material/sort-ascending]
|
||||
- chapter_sorting/index.md
|
||||
- 11.1 Sorting algorithms: chapter_sorting/sorting_algorithm.md
|
||||
- 11.2 Selection sort: chapter_sorting/selection_sort.md
|
||||
- 11.3 Bubble sort: chapter_sorting/bubble_sort.md
|
||||
- 11.4 Insertion sort: chapter_sorting/insertion_sort.md
|
||||
- 11.5 Quick sort: chapter_sorting/quick_sort.md
|
||||
- 11.6 Merge sort: chapter_sorting/merge_sort.md
|
||||
- 11.7 Heap sort: chapter_sorting/heap_sort.md
|
||||
- 11.8 Bucket sort: chapter_sorting/bucket_sort.md
|
||||
- 11.9 Counting sort: chapter_sorting/counting_sort.md
|
||||
- 11.10 Radix sort: chapter_sorting/radix_sort.md
|
||||
- 11.1 Sorting Algorithms: chapter_sorting/sorting_algorithm.md
|
||||
- 11.2 Selection Sort: chapter_sorting/selection_sort.md
|
||||
- 11.3 Bubble Sort: chapter_sorting/bubble_sort.md
|
||||
- 11.4 Insertion Sort: chapter_sorting/insertion_sort.md
|
||||
- 11.5 Quick Sort: chapter_sorting/quick_sort.md
|
||||
- 11.6 Merge Sort: chapter_sorting/merge_sort.md
|
||||
- 11.7 Heap Sort: chapter_sorting/heap_sort.md
|
||||
- 11.8 Bucket Sort: chapter_sorting/bucket_sort.md
|
||||
- 11.9 Counting Sort: chapter_sorting/counting_sort.md
|
||||
- 11.10 Radix Sort: chapter_sorting/radix_sort.md
|
||||
- 11.11 Summary: chapter_sorting/summary.md
|
||||
- Chapter 12. Divide and conquer:
|
||||
- Chapter 12. Divide and Conquer:
|
||||
# [icon: material/set-split]
|
||||
- chapter_divide_and_conquer/index.md
|
||||
- 12.1 Divide and conquer algorithms: chapter_divide_and_conquer/divide_and_conquer.md
|
||||
- 12.2 Divide and conquer search strategy: chapter_divide_and_conquer/binary_search_recur.md
|
||||
- 12.3 Building a binary tree problem: chapter_divide_and_conquer/build_binary_tree_problem.md
|
||||
- 12.4 Hanoi tower problem: chapter_divide_and_conquer/hanota_problem.md
|
||||
- 12.1 Divide and Conquer Algorithms: chapter_divide_and_conquer/divide_and_conquer.md
|
||||
- 12.2 Divide and Conquer Search Strategy: chapter_divide_and_conquer/binary_search_recur.md
|
||||
- 12.3 Building a Binary Tree Problem: chapter_divide_and_conquer/build_binary_tree_problem.md
|
||||
- 12.4 Hanoi Tower Problem: chapter_divide_and_conquer/hanota_problem.md
|
||||
- 12.5 Summary: chapter_divide_and_conquer/summary.md
|
||||
- Chapter 13. Backtracking:
|
||||
# [icon: material/map-marker-path]
|
||||
@@ -149,30 +149,30 @@ nav:
|
||||
- 13.1 Backtracking Algorithm: chapter_backtracking/backtracking_algorithm.md
|
||||
- 13.2 Permutations Problem: chapter_backtracking/permutations_problem.md
|
||||
- 13.3 Subset-Sum Problem: chapter_backtracking/subset_sum_problem.md
|
||||
- 13.4 n-queens problem: chapter_backtracking/n_queens_problem.md
|
||||
- 13.4 N-Queens Problem: chapter_backtracking/n_queens_problem.md
|
||||
- 13.5 Summary: chapter_backtracking/summary.md
|
||||
- Chapter 14. Dynamic programming:
|
||||
- Chapter 14. Dynamic Programming:
|
||||
# [icon: material/table-pivot]
|
||||
- chapter_dynamic_programming/index.md
|
||||
- 14.1 Introduction to dynamic programming: chapter_dynamic_programming/intro_to_dynamic_programming.md
|
||||
- 14.2 Characteristics of dynamic programming problems: chapter_dynamic_programming/dp_problem_features.md
|
||||
- 14.3 Dynamic programming problem-solving approach: chapter_dynamic_programming/dp_solution_pipeline.md
|
||||
- 14.4 0-1 knapsack problem: chapter_dynamic_programming/knapsack_problem.md
|
||||
- 14.5 Unbounded knapsack problem: chapter_dynamic_programming/unbounded_knapsack_problem.md
|
||||
- 14.6 Edit distance problem: chapter_dynamic_programming/edit_distance_problem.md
|
||||
- 14.1 Introduction to Dynamic Programming: chapter_dynamic_programming/intro_to_dynamic_programming.md
|
||||
- 14.2 Characteristics of Dynamic Programming Problems: chapter_dynamic_programming/dp_problem_features.md
|
||||
- 14.3 Dynamic Programming Problem-Solving Approach: chapter_dynamic_programming/dp_solution_pipeline.md
|
||||
- 14.4 0-1 Knapsack Problem: chapter_dynamic_programming/knapsack_problem.md
|
||||
- 14.5 Unbounded Knapsack Problem: chapter_dynamic_programming/unbounded_knapsack_problem.md
|
||||
- 14.6 Edit Distance Problem: chapter_dynamic_programming/edit_distance_problem.md
|
||||
- 14.7 Summary: chapter_dynamic_programming/summary.md
|
||||
- Chapter 15. Greedy:
|
||||
# [icon: material/head-heart-outline]
|
||||
- chapter_greedy/index.md
|
||||
- 15.1 Greedy algorithm: chapter_greedy/greedy_algorithm.md
|
||||
- 15.2 Fractional knapsack problem: chapter_greedy/fractional_knapsack_problem.md
|
||||
- 15.3 Maximum capacity problem: chapter_greedy/max_capacity_problem.md
|
||||
- 15.4 Maximum product cutting problem: chapter_greedy/max_product_cutting_problem.md
|
||||
- 15.1 Greedy Algorithm: chapter_greedy/greedy_algorithm.md
|
||||
- 15.2 Fractional Knapsack Problem: chapter_greedy/fractional_knapsack_problem.md
|
||||
- 15.3 Maximum Capacity Problem: chapter_greedy/max_capacity_problem.md
|
||||
- 15.4 Maximum Product Cutting Problem: chapter_greedy/max_product_cutting_problem.md
|
||||
- 15.5 Summary: chapter_greedy/summary.md
|
||||
- Chapter 16. Appendix:
|
||||
# [icon: material/help-circle-outline]
|
||||
- chapter_appendix/index.md
|
||||
- 16.1 Programming environment installation: chapter_appendix/installation.md
|
||||
- 16.1 Programming Environment Installation: chapter_appendix/installation.md
|
||||
- 16.2 Contributing Together: chapter_appendix/contribution.md
|
||||
- 16.3 Terminology Table: chapter_appendix/terminology.md
|
||||
- References:
|
||||
|
||||
Reference in New Issue
Block a user