From fa3e1c7e3f05b7850b00955f1313831d0bf95a7d Mon Sep 17 00:00:00 2001 From: krahets Date: Mon, 17 Jul 2023 17:51:03 +0800 Subject: [PATCH] build --- chapter_appendix/index.md | 12 ++++++++++++ chapter_array_and_linkedlist/index.md | 8 ++++++++ chapter_backtracking/index.md | 9 +++++++++ chapter_computational_complexity/index.md | 8 ++++++++ chapter_data_structure/index.md | 9 +++++++++ chapter_divide_and_conquer/binary_search_recur.md | 1 + .../build_binary_tree_problem.md | 1 + chapter_divide_and_conquer/divide_and_conquer.md | 1 + chapter_divide_and_conquer/hanota_problem.md | 1 + chapter_divide_and_conquer/index.md | 8 ++++++++ .../dp_problem_features.md | 1 + .../dp_solution_pipeline.md | 1 + .../edit_distance_problem.md | 1 + chapter_dynamic_programming/index.md | 11 +++++++++++ .../intro_to_dynamic_programming.md | 1 + chapter_dynamic_programming/knapsack_problem.md | 1 + chapter_dynamic_programming/summary.md | 1 + .../unbounded_knapsack_problem.md | 1 + chapter_graph/index.md | 8 ++++++++ chapter_hashing/index.md | 8 ++++++++ chapter_heap/index.md | 8 ++++++++ chapter_introduction/index.md | 7 +++++++ chapter_preface/index.md | 7 +++++++ chapter_searching/index.md | 9 +++++++++ chapter_sorting/index.md | 15 +++++++++++++++ chapter_stack_and_queue/index.md | 8 ++++++++ chapter_tree/index.md | 10 ++++++++++ 27 files changed, 156 insertions(+) create mode 100644 chapter_appendix/index.md diff --git a/chapter_appendix/index.md b/chapter_appendix/index.md new file mode 100644 index 000000000..2e0259639 --- /dev/null +++ b/chapter_appendix/index.md @@ -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/) diff --git a/chapter_array_and_linkedlist/index.md b/chapter_array_and_linkedlist/index.md index 0cde65045..15c9594a1 100644 --- a/chapter_array_and_linkedlist/index.md +++ b/chapter_array_and_linkedlist/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/view-grid-outline --- # 4.   数组与链表 @@ -9,3 +10,10 @@ comments: true ![数组与链表](../assets/covers/chapter_array_and_linkedlist.jpg){ width="70%" } + +## 本章内容 + +- [4.1   数组](https://www.hello-algo.com/chapter_array_and_linkedlist/array/) +- [4.2   链表](https://www.hello-algo.com/chapter_array_and_linkedlist/linked_list/) +- [4.3   列表](https://www.hello-algo.com/chapter_array_and_linkedlist/list/) +- [4.4   小结](https://www.hello-algo.com/chapter_array_and_linkedlist/summary/) diff --git a/chapter_backtracking/index.md b/chapter_backtracking/index.md index 43645b419..adfd2b7bb 100644 --- a/chapter_backtracking/index.md +++ b/chapter_backtracking/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/map-marker-path --- # 13.   回溯 @@ -9,3 +10,11 @@ comments: true ![回溯](../assets/covers/chapter_backtracking.jpg){ width="70%" } + +## 本章内容 + +- [13.1   回溯算法](https://www.hello-algo.com/chapter_backtracking/backtracking_algorithm/) +- [13.2   全排列问题](https://www.hello-algo.com/chapter_backtracking/permutations_problem/) +- [13.3   子集和问题](https://www.hello-algo.com/chapter_backtracking/subset_sum_problem/) +- [13.4   N 皇后问题](https://www.hello-algo.com/chapter_backtracking/n_queens_problem/) +- [13.5   小结](https://www.hello-algo.com/chapter_backtracking/summary/) diff --git a/chapter_computational_complexity/index.md b/chapter_computational_complexity/index.md index 980bd00e8..dfbd787f5 100644 --- a/chapter_computational_complexity/index.md +++ b/chapter_computational_complexity/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/timer-sand --- # 2.   复杂度 @@ -9,3 +10,10 @@ comments: true ![复杂度](../assets/covers/chapter_complexity_analysis.jpg){ width="70%" } + +## 本章内容 + +- [2.1   算法效率评估](https://www.hello-algo.com/chapter_computational_complexity/performance_evaluation/) +- [2.2   时间复杂度](https://www.hello-algo.com/chapter_computational_complexity/time_complexity/) +- [2.3   空间复杂度](https://www.hello-algo.com/chapter_computational_complexity/space_complexity/) +- [2.4   小结](https://www.hello-algo.com/chapter_computational_complexity/summary/) diff --git a/chapter_data_structure/index.md b/chapter_data_structure/index.md index ef22722a2..69108e573 100644 --- a/chapter_data_structure/index.md +++ b/chapter_data_structure/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/database-outline --- # 3.   数据结构 @@ -9,3 +10,11 @@ comments: true ![数据结构](../assets/covers/chapter_data_structure.jpg){ width="70%" } + +## 本章内容 + +- [3.1   数据结构分类](https://www.hello-algo.com/chapter_data_structure/classification_of_data_structure/) +- [3.2   基本数据类型](https://www.hello-algo.com/chapter_data_structure/basic_data_types/) +- [3.3   数字编码 *](https://www.hello-algo.com/chapter_data_structure/number_encoding/) +- [3.4   字符编码 *](https://www.hello-algo.com/chapter_data_structure/character_encoding/) +- [3.5   小结](https://www.hello-algo.com/chapter_data_structure/summary/) diff --git a/chapter_divide_and_conquer/binary_search_recur.md b/chapter_divide_and_conquer/binary_search_recur.md index 4b4f70830..6033e7172 100644 --- a/chapter_divide_and_conquer/binary_search_recur.md +++ b/chapter_divide_and_conquer/binary_search_recur.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 12.2.   分治搜索策略 diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.md b/chapter_divide_and_conquer/build_binary_tree_problem.md index ba26f72a5..41cc4ae4a 100644 --- a/chapter_divide_and_conquer/build_binary_tree_problem.md +++ b/chapter_divide_and_conquer/build_binary_tree_problem.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 12.3.   构建二叉树问题 diff --git a/chapter_divide_and_conquer/divide_and_conquer.md b/chapter_divide_and_conquer/divide_and_conquer.md index 86a0475ef..822d3cb00 100644 --- a/chapter_divide_and_conquer/divide_and_conquer.md +++ b/chapter_divide_and_conquer/divide_and_conquer.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 12.1.   分治算法 diff --git a/chapter_divide_and_conquer/hanota_problem.md b/chapter_divide_and_conquer/hanota_problem.md index b6f7a66de..df2a0afdc 100644 --- a/chapter_divide_and_conquer/hanota_problem.md +++ b/chapter_divide_and_conquer/hanota_problem.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 12.4.   汉诺塔问题 diff --git a/chapter_divide_and_conquer/index.md b/chapter_divide_and_conquer/index.md index 33f3bfcd0..92527022e 100644 --- a/chapter_divide_and_conquer/index.md +++ b/chapter_divide_and_conquer/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/file-tree-outline --- # 12.   分治 @@ -9,3 +10,10 @@ comments: true ![分治](../assets/covers/chapter_divide_and_conquer.jpg){ width="70%" } + +## 本章内容 + +- [12.1   分治算法](https://www.hello-algo.com/chapter_divide_and_conquer/divide_and_conquer/) +- [12.2   分治搜索策略](https://www.hello-algo.com/chapter_divide_and_conquer/binary_search_recur/) +- [12.3   构建树问题](https://www.hello-algo.com/chapter_divide_and_conquer/build_binary_tree_problem/) +- [12.4   汉诺塔问题](https://www.hello-algo.com/chapter_divide_and_conquer/hanota_problem/) diff --git a/chapter_dynamic_programming/dp_problem_features.md b/chapter_dynamic_programming/dp_problem_features.md index 6198b9b70..8e08d6225 100644 --- a/chapter_dynamic_programming/dp_problem_features.md +++ b/chapter_dynamic_programming/dp_problem_features.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 14.2.   动态规划问题特性 diff --git a/chapter_dynamic_programming/dp_solution_pipeline.md b/chapter_dynamic_programming/dp_solution_pipeline.md index 48f822d83..4a359c71a 100644 --- a/chapter_dynamic_programming/dp_solution_pipeline.md +++ b/chapter_dynamic_programming/dp_solution_pipeline.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 14.3.   动态规划解题思路 diff --git a/chapter_dynamic_programming/edit_distance_problem.md b/chapter_dynamic_programming/edit_distance_problem.md index f1ff0281c..4fa68c331 100644 --- a/chapter_dynamic_programming/edit_distance_problem.md +++ b/chapter_dynamic_programming/edit_distance_problem.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 14.6.   编辑距离问题 diff --git a/chapter_dynamic_programming/index.md b/chapter_dynamic_programming/index.md index 9adbad847..e05c1766e 100644 --- a/chapter_dynamic_programming/index.md +++ b/chapter_dynamic_programming/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/table-pivot --- # 14.   动态规划 @@ -9,3 +10,13 @@ comments: true ![动态规划](../assets/covers/chapter_dynamic_programming.jpg){ width="70%" } + +## 本章内容 + +- [14.1   初探动态规划](https://www.hello-algo.com/chapter_dynamic_programming/intro_to_dynamic_programming/) +- [14.2   DP 问题特性](https://www.hello-algo.com/chapter_dynamic_programming/dp_problem_features/) +- [14.3   DP 解题思路](https://www.hello-algo.com/chapter_dynamic_programming/dp_solution_pipeline/) +- [14.4   0-1 背包问题](https://www.hello-algo.com/chapter_dynamic_programming/knapsack_problem/) +- [14.5   完全背包问题](https://www.hello-algo.com/chapter_dynamic_programming/unbounded_knapsack_problem/) +- [14.6   编辑距离问题](https://www.hello-algo.com/chapter_dynamic_programming/edit_distance_problem/) +- [14.7   小结](https://www.hello-algo.com/chapter_dynamic_programming/summary/) diff --git a/chapter_dynamic_programming/intro_to_dynamic_programming.md b/chapter_dynamic_programming/intro_to_dynamic_programming.md index 1753b1254..f47a89e62 100644 --- a/chapter_dynamic_programming/intro_to_dynamic_programming.md +++ b/chapter_dynamic_programming/intro_to_dynamic_programming.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 14.1.   初探动态规划 diff --git a/chapter_dynamic_programming/knapsack_problem.md b/chapter_dynamic_programming/knapsack_problem.md index 7cb4a0393..5552a5794 100644 --- a/chapter_dynamic_programming/knapsack_problem.md +++ b/chapter_dynamic_programming/knapsack_problem.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 14.4.   0-1 背包问题 diff --git a/chapter_dynamic_programming/summary.md b/chapter_dynamic_programming/summary.md index 73827e24c..80e1b1634 100644 --- a/chapter_dynamic_programming/summary.md +++ b/chapter_dynamic_programming/summary.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 14.7.   小结 diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.md b/chapter_dynamic_programming/unbounded_knapsack_problem.md index 9583b169e..882a5282a 100644 --- a/chapter_dynamic_programming/unbounded_knapsack_problem.md +++ b/chapter_dynamic_programming/unbounded_knapsack_problem.md @@ -1,5 +1,6 @@ --- comments: true +status: new --- # 14.5.   完全背包问题 diff --git a/chapter_graph/index.md b/chapter_graph/index.md index 8791c09f3..22b487eee 100644 --- a/chapter_graph/index.md +++ b/chapter_graph/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/graphql --- # 9.   图 @@ -9,3 +10,10 @@ comments: true ![图](../assets/covers/chapter_graph.jpg){ width="70%" } + +## 本章内容 + +- [9.1   图](https://www.hello-algo.com/chapter_graph/graph/) +- [9.2   图基础操作](https://www.hello-algo.com/chapter_graph/graph_operations/) +- [9.3   图的遍历](https://www.hello-algo.com/chapter_graph/graph_traversal/) +- [9.4   小结](https://www.hello-algo.com/chapter_graph/summary/) diff --git a/chapter_hashing/index.md b/chapter_hashing/index.md index 66ba669b3..163cdf322 100644 --- a/chapter_hashing/index.md +++ b/chapter_hashing/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/table-search --- # 6.   散列表 @@ -9,3 +10,10 @@ comments: true ![散列表](../assets/covers/chapter_hashing.jpg){ width="70%" } + +## 本章内容 + +- [6.1   哈希表](https://www.hello-algo.com/chapter_hashing/hash_map/) +- [6.2   哈希冲突](https://www.hello-algo.com/chapter_hashing/hash_collision/) +- [6.3   哈希算法](https://www.hello-algo.com/chapter_hashing/hash_algorithm/) +- [6.4   小结](https://www.hello-algo.com/chapter_hashing/summary/) diff --git a/chapter_heap/index.md b/chapter_heap/index.md index 9a63d5992..1d9a2fc21 100644 --- a/chapter_heap/index.md +++ b/chapter_heap/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/family-tree --- # 8.   堆 @@ -9,3 +10,10 @@ comments: true ![堆](../assets/covers/chapter_heap.jpg){ width="70%" } + +## 本章内容 + +- [8.1   堆](https://www.hello-algo.com/chapter_heap/heap/) +- [8.2   建堆操作](https://www.hello-algo.com/chapter_heap/build_heap/) +- [8.3   Top-K 问题](https://www.hello-algo.com/chapter_heap/top_k/) +- [8.4   小结](https://www.hello-algo.com/chapter_heap/summary/) diff --git a/chapter_introduction/index.md b/chapter_introduction/index.md index bcdd7c99b..4187a156d 100644 --- a/chapter_introduction/index.md +++ b/chapter_introduction/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/code-tags --- # 1.   初识算法 @@ -9,3 +10,9 @@ comments: true ![初识算法](../assets/covers/chapter_introduction.jpg){ width="70%" } + +## 本章内容 + +- [1.1   算法无处不在](https://www.hello-algo.com/chapter_introduction/algorithms_are_everywhere/) +- [1.2   算法是什么](https://www.hello-algo.com/chapter_introduction/what_is_dsa/) +- [1.3   小结](https://www.hello-algo.com/chapter_introduction/summary/) diff --git a/chapter_preface/index.md b/chapter_preface/index.md index fe7d1b738..6ea4d5362 100644 --- a/chapter_preface/index.md +++ b/chapter_preface/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/book-open-outline --- # 0.   前言 @@ -9,3 +10,9 @@ comments: true ![前言](../assets/covers/chapter_preface.jpg){ width="70%" } + +## 本章内容 + +- [0.1   关于本书](https://www.hello-algo.com/chapter_preface/about_the_book/) +- [0.2   如何使用本书](https://www.hello-algo.com/chapter_preface/suggestions/) +- [0.3   小结](https://www.hello-algo.com/chapter_preface/summary/) diff --git a/chapter_searching/index.md b/chapter_searching/index.md index 36d23cfe0..656945ffd 100644 --- a/chapter_searching/index.md +++ b/chapter_searching/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/text-search --- # 10.   搜索 @@ -9,3 +10,11 @@ comments: true ![搜索](../assets/covers/chapter_searching.jpg){ width="70%" } + +## 本章内容 + +- [10.1   二分查找](https://www.hello-algo.com/chapter_searching/binary_search/) +- [10.2   二分查找边界](https://www.hello-algo.com/chapter_searching/binary_search_edge/) +- [10.3   哈希优化策略](https://www.hello-algo.com/chapter_searching/replace_linear_by_hashing/) +- [10.4   重识搜索算法](https://www.hello-algo.com/chapter_searching/searching_algorithm_revisited/) +- [10.5   小结](https://www.hello-algo.com/chapter_searching/summary/) diff --git a/chapter_sorting/index.md b/chapter_sorting/index.md index 70b9efa5d..63faa100a 100644 --- a/chapter_sorting/index.md +++ b/chapter_sorting/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/sort-ascending --- # 11.   排序 @@ -9,3 +10,17 @@ comments: true ![排序](../assets/covers/chapter_sorting.jpg){ width="70%" } + +## 本章内容 + +- [11.1   排序算法](https://www.hello-algo.com/chapter_sorting/sorting_algorithm/) +- [11.2   选择排序](https://www.hello-algo.com/chapter_sorting/selection_sort/) +- [11.3   冒泡排序](https://www.hello-algo.com/chapter_sorting/bubble_sort/) +- [11.4   插入排序](https://www.hello-algo.com/chapter_sorting/insertion_sort/) +- [11.5   快速排序](https://www.hello-algo.com/chapter_sorting/quick_sort/) +- [11.6   归并排序](https://www.hello-algo.com/chapter_sorting/merge_sort/) +- [11.7   堆排序](https://www.hello-algo.com/chapter_sorting/heap_sort/) +- [11.8   桶排序](https://www.hello-algo.com/chapter_sorting/bucket_sort/) +- [11.9   计数排序](https://www.hello-algo.com/chapter_sorting/counting_sort/) +- [11.10   基数排序](https://www.hello-algo.com/chapter_sorting/radix_sort/) +- [11.11   小结](https://www.hello-algo.com/chapter_sorting/summary/) diff --git a/chapter_stack_and_queue/index.md b/chapter_stack_and_queue/index.md index c5508d70f..0597b76e4 100644 --- a/chapter_stack_and_queue/index.md +++ b/chapter_stack_and_queue/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/stack-overflow --- # 5.   栈与队列 @@ -9,3 +10,10 @@ comments: true ![栈与队列](../assets/covers/chapter_stack_and_queue.jpg){ width="70%" } + +## 本章内容 + +- [5.1   栈](https://www.hello-algo.com/chapter_stack_and_queue/stack/) +- [5.2   队列](https://www.hello-algo.com/chapter_stack_and_queue/queue/) +- [5.3   双向队列](https://www.hello-algo.com/chapter_stack_and_queue/deque/) +- [5.4   小结](https://www.hello-algo.com/chapter_stack_and_queue/summary/) diff --git a/chapter_tree/index.md b/chapter_tree/index.md index cb43fb8c0..df8bef61b 100644 --- a/chapter_tree/index.md +++ b/chapter_tree/index.md @@ -1,5 +1,6 @@ --- comments: true +icon: material/graph-outline --- # 7.   树 @@ -9,3 +10,12 @@ comments: true ![树](../assets/covers/chapter_tree.jpg){ width="70%" } + +## 本章内容 + +- [7.1   二叉树](https://www.hello-algo.com/chapter_tree/binary_tree/) +- [7.2   二叉树遍历](https://www.hello-algo.com/chapter_tree/binary_tree_traversal/) +- [7.3   二叉树数组表示](https://www.hello-algo.com/chapter_tree/array_representation_of_tree/) +- [7.4   二叉搜索树](https://www.hello-algo.com/chapter_tree/binary_search_tree/) +- [7.5   AVL 树 *](https://www.hello-algo.com/chapter_tree/avl_tree/) +- [7.6   小结](https://www.hello-algo.com/chapter_tree/summary/)