This commit is contained in:
krahets 2023-07-17 17:51:03 +08:00
parent 639f7e3185
commit fa3e1c7e3f
27 changed files with 156 additions and 0 deletions

12
chapter_appendix/index.md Normal file
View file

@ -0,0 +1,12 @@
---
comments: true
icon: material/help-circle-outline
---
# 15.   附录
## 本章内容
- [15.1   编程环境安装](https://www.hello-algo.com/chapter_appendix/installation/)
- [15.2   一起参与创作](https://www.hello-algo.com/chapter_appendix/contribution/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/view-grid-outline
--- ---
# 4.   数组与链表 # 4.   数组与链表
@ -9,3 +10,10 @@ comments: true
![数组与链表](../assets/covers/chapter_array_and_linkedlist.jpg){ width="70%" } ![数组与链表](../assets/covers/chapter_array_and_linkedlist.jpg){ width="70%" }
</div> </div>
## 本章内容
- [4.1 &nbsp; 数组](https://www.hello-algo.com/chapter_array_and_linkedlist/array/)
- [4.2 &nbsp; 链表](https://www.hello-algo.com/chapter_array_and_linkedlist/linked_list/)
- [4.3 &nbsp; 列表](https://www.hello-algo.com/chapter_array_and_linkedlist/list/)
- [4.4 &nbsp; 小结](https://www.hello-algo.com/chapter_array_and_linkedlist/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/map-marker-path
--- ---
# 13. &nbsp; 回溯 # 13. &nbsp; 回溯
@ -9,3 +10,11 @@ comments: true
![回溯](../assets/covers/chapter_backtracking.jpg){ width="70%" } ![回溯](../assets/covers/chapter_backtracking.jpg){ width="70%" }
</div> </div>
## 本章内容
- [13.1 &nbsp; 回溯算法](https://www.hello-algo.com/chapter_backtracking/backtracking_algorithm/)
- [13.2 &nbsp; 全排列问题](https://www.hello-algo.com/chapter_backtracking/permutations_problem/)
- [13.3 &nbsp; 子集和问题](https://www.hello-algo.com/chapter_backtracking/subset_sum_problem/)
- [13.4 &nbsp; N 皇后问题](https://www.hello-algo.com/chapter_backtracking/n_queens_problem/)
- [13.5 &nbsp; 小结](https://www.hello-algo.com/chapter_backtracking/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/timer-sand
--- ---
# 2. &nbsp; 复杂度 # 2. &nbsp; 复杂度
@ -9,3 +10,10 @@ comments: true
![复杂度](../assets/covers/chapter_complexity_analysis.jpg){ width="70%" } ![复杂度](../assets/covers/chapter_complexity_analysis.jpg){ width="70%" }
</div> </div>
## 本章内容
- [2.1 &nbsp; 算法效率评估](https://www.hello-algo.com/chapter_computational_complexity/performance_evaluation/)
- [2.2 &nbsp; 时间复杂度](https://www.hello-algo.com/chapter_computational_complexity/time_complexity/)
- [2.3 &nbsp; 空间复杂度](https://www.hello-algo.com/chapter_computational_complexity/space_complexity/)
- [2.4 &nbsp; 小结](https://www.hello-algo.com/chapter_computational_complexity/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/database-outline
--- ---
# 3. &nbsp; 数据结构 # 3. &nbsp; 数据结构
@ -9,3 +10,11 @@ comments: true
![数据结构](../assets/covers/chapter_data_structure.jpg){ width="70%" } ![数据结构](../assets/covers/chapter_data_structure.jpg){ width="70%" }
</div> </div>
## 本章内容
- [3.1 &nbsp; 数据结构分类](https://www.hello-algo.com/chapter_data_structure/classification_of_data_structure/)
- [3.2 &nbsp; 基本数据类型](https://www.hello-algo.com/chapter_data_structure/basic_data_types/)
- [3.3 &nbsp; 数字编码 *](https://www.hello-algo.com/chapter_data_structure/number_encoding/)
- [3.4 &nbsp; 字符编码 *](https://www.hello-algo.com/chapter_data_structure/character_encoding/)
- [3.5 &nbsp; 小结](https://www.hello-algo.com/chapter_data_structure/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 12.2. &nbsp; 分治搜索策略 # 12.2. &nbsp; 分治搜索策略

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 12.3. &nbsp; 构建二叉树问题 # 12.3. &nbsp; 构建二叉树问题

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 12.1. &nbsp; 分治算法 # 12.1. &nbsp; 分治算法

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 12.4. &nbsp; 汉诺塔问题 # 12.4. &nbsp; 汉诺塔问题

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/file-tree-outline
--- ---
# 12. &nbsp; 分治 # 12. &nbsp; 分治
@ -9,3 +10,10 @@ comments: true
![分治](../assets/covers/chapter_divide_and_conquer.jpg){ width="70%" } ![分治](../assets/covers/chapter_divide_and_conquer.jpg){ width="70%" }
</div> </div>
## 本章内容
- [12.1 &nbsp; 分治算法](https://www.hello-algo.com/chapter_divide_and_conquer/divide_and_conquer/)
- [12.2 &nbsp; 分治搜索策略](https://www.hello-algo.com/chapter_divide_and_conquer/binary_search_recur/)
- [12.3 &nbsp; 构建树问题](https://www.hello-algo.com/chapter_divide_and_conquer/build_binary_tree_problem/)
- [12.4 &nbsp; 汉诺塔问题](https://www.hello-algo.com/chapter_divide_and_conquer/hanota_problem/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 14.2. &nbsp; 动态规划问题特性 # 14.2. &nbsp; 动态规划问题特性

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 14.3. &nbsp; 动态规划解题思路 # 14.3. &nbsp; 动态规划解题思路

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 14.6. &nbsp; 编辑距离问题 # 14.6. &nbsp; 编辑距离问题

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/table-pivot
--- ---
# 14. &nbsp; 动态规划 # 14. &nbsp; 动态规划
@ -9,3 +10,13 @@ comments: true
![动态规划](../assets/covers/chapter_dynamic_programming.jpg){ width="70%" } ![动态规划](../assets/covers/chapter_dynamic_programming.jpg){ width="70%" }
</div> </div>
## 本章内容
- [14.1 &nbsp; 初探动态规划](https://www.hello-algo.com/chapter_dynamic_programming/intro_to_dynamic_programming/)
- [14.2 &nbsp; DP 问题特性](https://www.hello-algo.com/chapter_dynamic_programming/dp_problem_features/)
- [14.3 &nbsp; DP 解题思路](https://www.hello-algo.com/chapter_dynamic_programming/dp_solution_pipeline/)
- [14.4 &nbsp; 0-1 背包问题](https://www.hello-algo.com/chapter_dynamic_programming/knapsack_problem/)
- [14.5 &nbsp; 完全背包问题](https://www.hello-algo.com/chapter_dynamic_programming/unbounded_knapsack_problem/)
- [14.6 &nbsp; 编辑距离问题](https://www.hello-algo.com/chapter_dynamic_programming/edit_distance_problem/)
- [14.7 &nbsp; 小结](https://www.hello-algo.com/chapter_dynamic_programming/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 14.1. &nbsp; 初探动态规划 # 14.1. &nbsp; 初探动态规划

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 14.4. &nbsp; 0-1 背包问题 # 14.4. &nbsp; 0-1 背包问题

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 14.7. &nbsp; 小结 # 14.7. &nbsp; 小结

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
status: new
--- ---
# 14.5. &nbsp; 完全背包问题 # 14.5. &nbsp; 完全背包问题

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/graphql
--- ---
# 9. &nbsp; # 9. &nbsp;
@ -9,3 +10,10 @@ comments: true
![](../assets/covers/chapter_graph.jpg){ width="70%" } ![](../assets/covers/chapter_graph.jpg){ width="70%" }
</div> </div>
## 本章内容
- [9.1 &nbsp; 图](https://www.hello-algo.com/chapter_graph/graph/)
- [9.2 &nbsp; 图基础操作](https://www.hello-algo.com/chapter_graph/graph_operations/)
- [9.3 &nbsp; 图的遍历](https://www.hello-algo.com/chapter_graph/graph_traversal/)
- [9.4 &nbsp; 小结](https://www.hello-algo.com/chapter_graph/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/table-search
--- ---
# 6. &nbsp; 散列表 # 6. &nbsp; 散列表
@ -9,3 +10,10 @@ comments: true
![散列表](../assets/covers/chapter_hashing.jpg){ width="70%" } ![散列表](../assets/covers/chapter_hashing.jpg){ width="70%" }
</div> </div>
## 本章内容
- [6.1 &nbsp; 哈希表](https://www.hello-algo.com/chapter_hashing/hash_map/)
- [6.2 &nbsp; 哈希冲突](https://www.hello-algo.com/chapter_hashing/hash_collision/)
- [6.3 &nbsp; 哈希算法](https://www.hello-algo.com/chapter_hashing/hash_algorithm/)
- [6.4 &nbsp; 小结](https://www.hello-algo.com/chapter_hashing/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/family-tree
--- ---
# 8. &nbsp; # 8. &nbsp;
@ -9,3 +10,10 @@ comments: true
![](../assets/covers/chapter_heap.jpg){ width="70%" } ![](../assets/covers/chapter_heap.jpg){ width="70%" }
</div> </div>
## 本章内容
- [8.1 &nbsp; 堆](https://www.hello-algo.com/chapter_heap/heap/)
- [8.2 &nbsp; 建堆操作](https://www.hello-algo.com/chapter_heap/build_heap/)
- [8.3 &nbsp; Top-K 问题](https://www.hello-algo.com/chapter_heap/top_k/)
- [8.4 &nbsp; 小结](https://www.hello-algo.com/chapter_heap/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/code-tags
--- ---
# 1. &nbsp; 初识算法 # 1. &nbsp; 初识算法
@ -9,3 +10,9 @@ comments: true
![初识算法](../assets/covers/chapter_introduction.jpg){ width="70%" } ![初识算法](../assets/covers/chapter_introduction.jpg){ width="70%" }
</div> </div>
## 本章内容
- [1.1 &nbsp; 算法无处不在](https://www.hello-algo.com/chapter_introduction/algorithms_are_everywhere/)
- [1.2 &nbsp; 算法是什么](https://www.hello-algo.com/chapter_introduction/what_is_dsa/)
- [1.3 &nbsp; 小结](https://www.hello-algo.com/chapter_introduction/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/book-open-outline
--- ---
# 0. &nbsp; 前言 # 0. &nbsp; 前言
@ -9,3 +10,9 @@ comments: true
![前言](../assets/covers/chapter_preface.jpg){ width="70%" } ![前言](../assets/covers/chapter_preface.jpg){ width="70%" }
</div> </div>
## 本章内容
- [0.1 &nbsp; 关于本书](https://www.hello-algo.com/chapter_preface/about_the_book/)
- [0.2 &nbsp; 如何使用本书](https://www.hello-algo.com/chapter_preface/suggestions/)
- [0.3 &nbsp; 小结](https://www.hello-algo.com/chapter_preface/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/text-search
--- ---
# 10. &nbsp; 搜索 # 10. &nbsp; 搜索
@ -9,3 +10,11 @@ comments: true
![搜索](../assets/covers/chapter_searching.jpg){ width="70%" } ![搜索](../assets/covers/chapter_searching.jpg){ width="70%" }
</div> </div>
## 本章内容
- [10.1 &nbsp; 二分查找](https://www.hello-algo.com/chapter_searching/binary_search/)
- [10.2 &nbsp; 二分查找边界](https://www.hello-algo.com/chapter_searching/binary_search_edge/)
- [10.3 &nbsp; 哈希优化策略](https://www.hello-algo.com/chapter_searching/replace_linear_by_hashing/)
- [10.4 &nbsp; 重识搜索算法](https://www.hello-algo.com/chapter_searching/searching_algorithm_revisited/)
- [10.5 &nbsp; 小结](https://www.hello-algo.com/chapter_searching/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/sort-ascending
--- ---
# 11. &nbsp; 排序 # 11. &nbsp; 排序
@ -9,3 +10,17 @@ comments: true
![排序](../assets/covers/chapter_sorting.jpg){ width="70%" } ![排序](../assets/covers/chapter_sorting.jpg){ width="70%" }
</div> </div>
## 本章内容
- [11.1 &nbsp; 排序算法](https://www.hello-algo.com/chapter_sorting/sorting_algorithm/)
- [11.2 &nbsp; 选择排序](https://www.hello-algo.com/chapter_sorting/selection_sort/)
- [11.3 &nbsp; 冒泡排序](https://www.hello-algo.com/chapter_sorting/bubble_sort/)
- [11.4 &nbsp; 插入排序](https://www.hello-algo.com/chapter_sorting/insertion_sort/)
- [11.5 &nbsp; 快速排序](https://www.hello-algo.com/chapter_sorting/quick_sort/)
- [11.6 &nbsp; 归并排序](https://www.hello-algo.com/chapter_sorting/merge_sort/)
- [11.7 &nbsp; 堆排序](https://www.hello-algo.com/chapter_sorting/heap_sort/)
- [11.8 &nbsp; 桶排序](https://www.hello-algo.com/chapter_sorting/bucket_sort/)
- [11.9 &nbsp; 计数排序](https://www.hello-algo.com/chapter_sorting/counting_sort/)
- [11.10 &nbsp; 基数排序](https://www.hello-algo.com/chapter_sorting/radix_sort/)
- [11.11 &nbsp; 小结](https://www.hello-algo.com/chapter_sorting/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/stack-overflow
--- ---
# 5. &nbsp; 栈与队列 # 5. &nbsp; 栈与队列
@ -9,3 +10,10 @@ comments: true
![栈与队列](../assets/covers/chapter_stack_and_queue.jpg){ width="70%" } ![栈与队列](../assets/covers/chapter_stack_and_queue.jpg){ width="70%" }
</div> </div>
## 本章内容
- [5.1 &nbsp; 栈](https://www.hello-algo.com/chapter_stack_and_queue/stack/)
- [5.2 &nbsp; 队列](https://www.hello-algo.com/chapter_stack_and_queue/queue/)
- [5.3 &nbsp; 双向队列](https://www.hello-algo.com/chapter_stack_and_queue/deque/)
- [5.4 &nbsp; 小结](https://www.hello-algo.com/chapter_stack_and_queue/summary/)

View file

@ -1,5 +1,6 @@
--- ---
comments: true comments: true
icon: material/graph-outline
--- ---
# 7. &nbsp; # 7. &nbsp;
@ -9,3 +10,12 @@ comments: true
![](../assets/covers/chapter_tree.jpg){ width="70%" } ![](../assets/covers/chapter_tree.jpg){ width="70%" }
</div> </div>
## 本章内容
- [7.1 &nbsp; 二叉树](https://www.hello-algo.com/chapter_tree/binary_tree/)
- [7.2 &nbsp; 二叉树遍历](https://www.hello-algo.com/chapter_tree/binary_tree_traversal/)
- [7.3 &nbsp; 二叉树数组表示](https://www.hello-algo.com/chapter_tree/array_representation_of_tree/)
- [7.4 &nbsp; 二叉搜索树](https://www.hello-algo.com/chapter_tree/binary_search_tree/)
- [7.5 &nbsp; AVL 树 *](https://www.hello-algo.com/chapter_tree/avl_tree/)
- [7.6 &nbsp; 小结](https://www.hello-algo.com/chapter_tree/summary/)