mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-28 12:52:57 +08:00
build
This commit is contained in:
@ -7,8 +7,8 @@ icon: material/help-circle-outline
|
||||
|
||||
{ class="cover-image" }
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [16.1 程式設計環境安裝](https://www.hello-algo.com/en/chapter_appendix/installation/)
|
||||
- [16.2 一起參與創作](https://www.hello-algo.com/en/chapter_appendix/contribution/)
|
||||
- [16.3 術語表](https://www.hello-algo.com/en/chapter_appendix/terminology/)
|
||||
- [16.1 程式設計環境安裝](installation.md)
|
||||
- [16.2 一起參與創作](contribution.md)
|
||||
- [16.3 術語表](terminology.md)
|
||||
|
@ -13,10 +13,10 @@ icon: material/view-list-outline
|
||||
|
||||
陣列的磚塊整齊排列,逐個緊貼。鏈結串列的磚塊分散各處,連線的藤蔓自由地穿梭於磚縫之間。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [4.1 陣列](https://www.hello-algo.com/en/chapter_array_and_linkedlist/array/)
|
||||
- [4.2 鏈結串列](https://www.hello-algo.com/en/chapter_array_and_linkedlist/linked_list/)
|
||||
- [4.3 串列](https://www.hello-algo.com/en/chapter_array_and_linkedlist/list/)
|
||||
- [4.4 記憶體與快取 *](https://www.hello-algo.com/en/chapter_array_and_linkedlist/ram_and_cache/)
|
||||
- [4.5 小結](https://www.hello-algo.com/en/chapter_array_and_linkedlist/summary/)
|
||||
- [4.1 陣列](array.md)
|
||||
- [4.2 鏈結串列](linked_list.md)
|
||||
- [4.3 串列](list.md)
|
||||
- [4.4 記憶體與快取 *](ram_and_cache.md)
|
||||
- [4.5 小結](summary.md)
|
||||
|
@ -13,10 +13,10 @@ icon: material/map-marker-path
|
||||
|
||||
回溯的力量讓我們能夠重新開始,不斷嘗試,最終找到通往光明的出口。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [13.1 回溯演算法](https://www.hello-algo.com/en/chapter_backtracking/backtracking_algorithm/)
|
||||
- [13.2 全排列問題](https://www.hello-algo.com/en/chapter_backtracking/permutations_problem/)
|
||||
- [13.3 子集和問題](https://www.hello-algo.com/en/chapter_backtracking/subset_sum_problem/)
|
||||
- [13.4 N 皇后問題](https://www.hello-algo.com/en/chapter_backtracking/n_queens_problem/)
|
||||
- [13.5 小結](https://www.hello-algo.com/en/chapter_backtracking/summary/)
|
||||
- [13.1 回溯演算法](backtracking_algorithm.md)
|
||||
- [13.2 全排列問題](permutations_problem.md)
|
||||
- [13.3 子集和問題](subset_sum_problem.md)
|
||||
- [13.4 N 皇后問題](n_queens_problem.md)
|
||||
- [13.5 小結](summary.md)
|
||||
|
@ -13,10 +13,10 @@ icon: material/timer-sand
|
||||
|
||||
它帶領我們在時間與空間這兩個維度上深入探索,尋找更優雅的解決方案。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [2.1 演算法效率評估](https://www.hello-algo.com/en/chapter_computational_complexity/performance_evaluation/)
|
||||
- [2.2 迭代與遞迴](https://www.hello-algo.com/en/chapter_computational_complexity/iteration_and_recursion/)
|
||||
- [2.3 時間複雜度](https://www.hello-algo.com/en/chapter_computational_complexity/time_complexity/)
|
||||
- [2.4 空間複雜度](https://www.hello-algo.com/en/chapter_computational_complexity/space_complexity/)
|
||||
- [2.5 小結](https://www.hello-algo.com/en/chapter_computational_complexity/summary/)
|
||||
- [2.1 演算法效率評估](performance_evaluation.md)
|
||||
- [2.2 迭代與遞迴](iteration_and_recursion.md)
|
||||
- [2.3 時間複雜度](time_complexity.md)
|
||||
- [2.4 空間複雜度](space_complexity.md)
|
||||
- [2.5 小結](summary.md)
|
||||
|
@ -13,10 +13,10 @@ icon: material/shape-outline
|
||||
|
||||
它為資料的有序組織提供了藍圖,演算法得以在此基礎上生動起來。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [3.1 資料結構分類](https://www.hello-algo.com/en/chapter_data_structure/classification_of_data_structure/)
|
||||
- [3.2 基本資料型別](https://www.hello-algo.com/en/chapter_data_structure/basic_data_types/)
|
||||
- [3.3 數字編碼 *](https://www.hello-algo.com/en/chapter_data_structure/number_encoding/)
|
||||
- [3.4 字元編碼 *](https://www.hello-algo.com/en/chapter_data_structure/character_encoding/)
|
||||
- [3.5 小結](https://www.hello-algo.com/en/chapter_data_structure/summary/)
|
||||
- [3.1 資料結構分類](classification_of_data_structure.md)
|
||||
- [3.2 基本資料型別](basic_data_types.md)
|
||||
- [3.3 數字編碼 *](number_encoding.md)
|
||||
- [3.4 字元編碼 *](character_encoding.md)
|
||||
- [3.5 小結](summary.md)
|
||||
|
@ -13,10 +13,10 @@ icon: material/set-split
|
||||
|
||||
分而治之揭示了一個重要的事實:從簡單做起,一切都不再複雜。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [12.1 分治演算法](https://www.hello-algo.com/en/chapter_divide_and_conquer/divide_and_conquer/)
|
||||
- [12.2 分治搜尋策略](https://www.hello-algo.com/en/chapter_divide_and_conquer/binary_search_recur/)
|
||||
- [12.3 構建樹問題](https://www.hello-algo.com/en/chapter_divide_and_conquer/build_binary_tree_problem/)
|
||||
- [12.4 河內塔問題](https://www.hello-algo.com/en/chapter_divide_and_conquer/hanota_problem/)
|
||||
- [12.5 小結](https://www.hello-algo.com/en/chapter_divide_and_conquer/summary/)
|
||||
- [12.1 分治演算法](divide_and_conquer.md)
|
||||
- [12.2 分治搜尋策略](binary_search_recur.md)
|
||||
- [12.3 構建樹問題](build_binary_tree_problem.md)
|
||||
- [12.4 河內塔問題](hanota_problem.md)
|
||||
- [12.5 小結](summary.md)
|
||||
|
@ -13,12 +13,12 @@ icon: material/table-pivot
|
||||
|
||||
動態規劃將小問題的解彙集成大問題的答案,一步步引領我們走向解決問題的彼岸。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [14.1 初探動態規劃](https://www.hello-algo.com/en/chapter_dynamic_programming/intro_to_dynamic_programming/)
|
||||
- [14.2 DP 問題特性](https://www.hello-algo.com/en/chapter_dynamic_programming/dp_problem_features/)
|
||||
- [14.3 DP 解題思路](https://www.hello-algo.com/en/chapter_dynamic_programming/dp_solution_pipeline/)
|
||||
- [14.4 0-1 背包問題](https://www.hello-algo.com/en/chapter_dynamic_programming/knapsack_problem/)
|
||||
- [14.5 完全背包問題](https://www.hello-algo.com/en/chapter_dynamic_programming/unbounded_knapsack_problem/)
|
||||
- [14.6 編輯距離問題](https://www.hello-algo.com/en/chapter_dynamic_programming/edit_distance_problem/)
|
||||
- [14.7 小結](https://www.hello-algo.com/en/chapter_dynamic_programming/summary/)
|
||||
- [14.1 初探動態規劃](intro_to_dynamic_programming.md)
|
||||
- [14.2 DP 問題特性](dp_problem_features.md)
|
||||
- [14.3 DP 解題思路](dp_solution_pipeline.md)
|
||||
- [14.4 0-1 背包問題](knapsack_problem.md)
|
||||
- [14.5 完全背包問題](unbounded_knapsack_problem.md)
|
||||
- [14.6 編輯距離問題](edit_distance_problem.md)
|
||||
- [14.7 小結](summary.md)
|
||||
|
@ -13,9 +13,9 @@ icon: material/graphql
|
||||
|
||||
每一次的相識與相離,都在這張巨大的網路圖中留下獨特的印記。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [9.1 圖](https://www.hello-algo.com/en/chapter_graph/graph/)
|
||||
- [9.2 圖基礎操作](https://www.hello-algo.com/en/chapter_graph/graph_operations/)
|
||||
- [9.3 圖的走訪](https://www.hello-algo.com/en/chapter_graph/graph_traversal/)
|
||||
- [9.4 小結](https://www.hello-algo.com/en/chapter_graph/summary/)
|
||||
- [9.1 圖](graph.md)
|
||||
- [9.2 圖基礎操作](graph_operations.md)
|
||||
- [9.3 圖的走訪](graph_traversal.md)
|
||||
- [9.4 小結](summary.md)
|
||||
|
@ -13,10 +13,10 @@ icon: material/head-heart-outline
|
||||
|
||||
貪婪策略在一輪輪的簡單選擇中,逐步導向最佳答案。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [15.1 貪婪演算法](https://www.hello-algo.com/en/chapter_greedy/greedy_algorithm/)
|
||||
- [15.2 分數背包問題](https://www.hello-algo.com/en/chapter_greedy/fractional_knapsack_problem/)
|
||||
- [15.3 最大容量問題](https://www.hello-algo.com/en/chapter_greedy/max_capacity_problem/)
|
||||
- [15.4 最大切分乘積問題](https://www.hello-algo.com/en/chapter_greedy/max_product_cutting_problem/)
|
||||
- [15.5 小結](https://www.hello-algo.com/en/chapter_greedy/summary/)
|
||||
- [15.1 貪婪演算法](greedy_algorithm.md)
|
||||
- [15.2 分數背包問題](fractional_knapsack_problem.md)
|
||||
- [15.3 最大容量問題](max_capacity_problem.md)
|
||||
- [15.4 最大切分乘積問題](max_product_cutting_problem.md)
|
||||
- [15.5 小結](summary.md)
|
||||
|
@ -13,9 +13,9 @@ icon: material/table-search
|
||||
|
||||
他知道如何計算索書號,從而可以快速找到目標圖書。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [6.1 雜湊表](https://www.hello-algo.com/en/chapter_hashing/hash_map/)
|
||||
- [6.2 雜湊衝突](https://www.hello-algo.com/en/chapter_hashing/hash_collision/)
|
||||
- [6.3 雜湊演算法](https://www.hello-algo.com/en/chapter_hashing/hash_algorithm/)
|
||||
- [6.4 小結](https://www.hello-algo.com/en/chapter_hashing/summary/)
|
||||
- [6.1 雜湊表](hash_map.md)
|
||||
- [6.2 雜湊衝突](hash_collision.md)
|
||||
- [6.3 雜湊演算法](hash_algorithm.md)
|
||||
- [6.4 小結](summary.md)
|
||||
|
@ -13,9 +13,9 @@ icon: material/family-tree
|
||||
|
||||
座座山峰高低錯落,而最高的山峰總是最先映入眼簾。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [8.1 堆積](https://www.hello-algo.com/en/chapter_heap/heap/)
|
||||
- [8.2 建堆積操作](https://www.hello-algo.com/en/chapter_heap/build_heap/)
|
||||
- [8.3 Top-k 問題](https://www.hello-algo.com/en/chapter_heap/top_k/)
|
||||
- [8.4 小結](https://www.hello-algo.com/en/chapter_heap/summary/)
|
||||
- [8.1 堆積](heap.md)
|
||||
- [8.2 建堆積操作](build_heap.md)
|
||||
- [8.3 Top-k 問題](top_k.md)
|
||||
- [8.4 小結](summary.md)
|
||||
|
@ -13,8 +13,8 @@ icon: material/calculator-variant-outline
|
||||
|
||||
她邀請你共舞,請緊跟她的步伐,踏入充滿邏輯與美感的演算法世界。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [1.1 演算法無處不在](https://www.hello-algo.com/en/chapter_introduction/algorithms_are_everywhere/)
|
||||
- [1.2 演算法是什麼](https://www.hello-algo.com/en/chapter_introduction/what_is_dsa/)
|
||||
- [1.3 小結](https://www.hello-algo.com/en/chapter_introduction/summary/)
|
||||
- [1.1 演算法無處不在](algorithms_are_everywhere.md)
|
||||
- [1.2 演算法是什麼](what_is_dsa.md)
|
||||
- [1.3 小結](summary.md)
|
||||
|
@ -13,8 +13,8 @@ icon: material/book-open-outline
|
||||
|
||||
願這本書在你的腦海中輕輕響起,留下獨特而深刻的旋律。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [0.1 關於本書](https://www.hello-algo.com/en/chapter_preface/about_the_book/)
|
||||
- [0.2 如何使用本書](https://www.hello-algo.com/en/chapter_preface/suggestions/)
|
||||
- [0.3 小結](https://www.hello-algo.com/en/chapter_preface/summary/)
|
||||
- [0.1 關於本書](about_the_book.md)
|
||||
- [0.2 如何使用本書](suggestions.md)
|
||||
- [0.3 小結](summary.md)
|
||||
|
@ -13,11 +13,11 @@ icon: material/text-search
|
||||
|
||||
在這場尋覓之旅中,每一次探索都可能得到一個未曾料想的答案。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [10.1 二分搜尋](https://www.hello-algo.com/en/chapter_searching/binary_search/)
|
||||
- [10.2 二分搜尋插入點](https://www.hello-algo.com/en/chapter_searching/binary_search_insertion/)
|
||||
- [10.3 二分搜尋邊界](https://www.hello-algo.com/en/chapter_searching/binary_search_edge/)
|
||||
- [10.4 雜湊最佳化策略](https://www.hello-algo.com/en/chapter_searching/replace_linear_by_hashing/)
|
||||
- [10.5 重識搜尋演算法](https://www.hello-algo.com/en/chapter_searching/searching_algorithm_revisited/)
|
||||
- [10.6 小結](https://www.hello-algo.com/en/chapter_searching/summary/)
|
||||
- [10.1 二分搜尋](binary_search.md)
|
||||
- [10.2 二分搜尋插入點](binary_search_insertion.md)
|
||||
- [10.3 二分搜尋邊界](binary_search_edge.md)
|
||||
- [10.4 雜湊最佳化策略](replace_linear_by_hashing.md)
|
||||
- [10.5 重識搜尋演算法](searching_algorithm_revisited.md)
|
||||
- [10.6 小結](summary.md)
|
||||
|
@ -13,16 +13,16 @@ icon: material/sort-ascending
|
||||
|
||||
無論是簡單的升序,還是複雜的分類排列,排序都向我們展示了資料的和諧美感。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [11.1 排序演算法](https://www.hello-algo.com/en/chapter_sorting/sorting_algorithm/)
|
||||
- [11.2 選擇排序](https://www.hello-algo.com/en/chapter_sorting/selection_sort/)
|
||||
- [11.3 泡沫排序](https://www.hello-algo.com/en/chapter_sorting/bubble_sort/)
|
||||
- [11.4 插入排序](https://www.hello-algo.com/en/chapter_sorting/insertion_sort/)
|
||||
- [11.5 快速排序](https://www.hello-algo.com/en/chapter_sorting/quick_sort/)
|
||||
- [11.6 合併排序](https://www.hello-algo.com/en/chapter_sorting/merge_sort/)
|
||||
- [11.7 堆積排序](https://www.hello-algo.com/en/chapter_sorting/heap_sort/)
|
||||
- [11.8 桶排序](https://www.hello-algo.com/en/chapter_sorting/bucket_sort/)
|
||||
- [11.9 計數排序](https://www.hello-algo.com/en/chapter_sorting/counting_sort/)
|
||||
- [11.10 基數排序](https://www.hello-algo.com/en/chapter_sorting/radix_sort/)
|
||||
- [11.11 小結](https://www.hello-algo.com/en/chapter_sorting/summary/)
|
||||
- [11.1 排序演算法](sorting_algorithm.md)
|
||||
- [11.2 選擇排序](selection_sort.md)
|
||||
- [11.3 泡沫排序](bubble_sort.md)
|
||||
- [11.4 插入排序](insertion_sort.md)
|
||||
- [11.5 快速排序](quick_sort.md)
|
||||
- [11.6 合併排序](merge_sort.md)
|
||||
- [11.7 堆積排序](heap_sort.md)
|
||||
- [11.8 桶排序](bucket_sort.md)
|
||||
- [11.9 計數排序](counting_sort.md)
|
||||
- [11.10 基數排序](radix_sort.md)
|
||||
- [11.11 小結](summary.md)
|
||||
|
@ -13,9 +13,9 @@ icon: material/stack-overflow
|
||||
|
||||
兩者分別代表先入後出和先入先出的邏輯關係。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [5.1 堆疊](https://www.hello-algo.com/en/chapter_stack_and_queue/stack/)
|
||||
- [5.2 佇列](https://www.hello-algo.com/en/chapter_stack_and_queue/queue/)
|
||||
- [5.3 雙向佇列](https://www.hello-algo.com/en/chapter_stack_and_queue/deque/)
|
||||
- [5.4 小結](https://www.hello-algo.com/en/chapter_stack_and_queue/summary/)
|
||||
- [5.1 堆疊](stack.md)
|
||||
- [5.2 佇列](queue.md)
|
||||
- [5.3 雙向佇列](deque.md)
|
||||
- [5.4 小結](summary.md)
|
||||
|
@ -13,11 +13,11 @@ icon: material/graph-outline
|
||||
|
||||
它為我們展現了資料分治的生動形態。
|
||||
|
||||
## Chapter Contents
|
||||
## 本章內容
|
||||
|
||||
- [7.1 二元樹](https://www.hello-algo.com/en/chapter_tree/binary_tree/)
|
||||
- [7.2 二元樹走訪](https://www.hello-algo.com/en/chapter_tree/binary_tree_traversal/)
|
||||
- [7.3 二元樹陣列表示](https://www.hello-algo.com/en/chapter_tree/array_representation_of_tree/)
|
||||
- [7.4 二元搜尋樹](https://www.hello-algo.com/en/chapter_tree/binary_search_tree/)
|
||||
- [7.5 AVL *](https://www.hello-algo.com/en/chapter_tree/avl_tree/)
|
||||
- [7.6 小結](https://www.hello-algo.com/en/chapter_tree/summary/)
|
||||
- [7.1 二元樹](binary_tree.md)
|
||||
- [7.2 二元樹走訪](binary_tree_traversal.md)
|
||||
- [7.3 二元樹陣列表示](array_representation_of_tree.md)
|
||||
- [7.4 二元搜尋樹](binary_search_tree.md)
|
||||
- [7.5 AVL *](avl_tree.md)
|
||||
- [7.6 小結](summary.md)
|
||||
|
@ -144,7 +144,7 @@
|
||||
<div style="height: 8.17%;"></div>
|
||||
<img class="device-on-hover" style="height: 66.83%;" src="../assets/hero/cover_render.png" alt="Cover">
|
||||
<div class="text-button">
|
||||
<span>紙質書(簡體中文版)</span>
|
||||
<span>紙質書(簡中)</span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">
|
||||
<path
|
||||
d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z" />
|
||||
@ -170,7 +170,7 @@
|
||||
<a href="https://github.com/krahets/hello-algo/releases">
|
||||
<img class="device-on-hover" style="height: 75%;" src="../assets/hero/pdf_ipad.png" alt="">
|
||||
<div class="text-button">
|
||||
<span>下載 PDF</span>
|
||||
<span>PDF(簡中)</span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">
|
||||
<path
|
||||
d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z" />
|
||||
|
Reference in New Issue
Block a user