diff --git a/docs/assets/covers/chapter_array_and_linkedlist.jpg b/docs/assets/covers/chapter_array_and_linkedlist.jpg new file mode 100644 index 000000000..ec380e100 Binary files /dev/null and b/docs/assets/covers/chapter_array_and_linkedlist.jpg differ diff --git a/docs/assets/covers/chapter_backtracking.jpg b/docs/assets/covers/chapter_backtracking.jpg new file mode 100644 index 000000000..909f41be5 Binary files /dev/null and b/docs/assets/covers/chapter_backtracking.jpg differ diff --git a/docs/assets/covers/chapter_complexity_analysis.jpg b/docs/assets/covers/chapter_complexity_analysis.jpg new file mode 100644 index 000000000..2f2c382c2 Binary files /dev/null and b/docs/assets/covers/chapter_complexity_analysis.jpg differ diff --git a/docs/assets/covers/chapter_data_structure.jpg b/docs/assets/covers/chapter_data_structure.jpg new file mode 100644 index 000000000..c877648dd Binary files /dev/null and b/docs/assets/covers/chapter_data_structure.jpg differ diff --git a/docs/assets/covers/chapter_dynamic_programming.jpg b/docs/assets/covers/chapter_dynamic_programming.jpg new file mode 100644 index 000000000..280cfc209 Binary files /dev/null and b/docs/assets/covers/chapter_dynamic_programming.jpg differ diff --git a/docs/assets/covers/chapter_graph.jpg b/docs/assets/covers/chapter_graph.jpg new file mode 100644 index 000000000..368fce371 Binary files /dev/null and b/docs/assets/covers/chapter_graph.jpg differ diff --git a/docs/assets/covers/chapter_hashing.jpg b/docs/assets/covers/chapter_hashing.jpg new file mode 100644 index 000000000..2b47cd046 Binary files /dev/null and b/docs/assets/covers/chapter_hashing.jpg differ diff --git a/docs/assets/covers/chapter_heap.jpg b/docs/assets/covers/chapter_heap.jpg new file mode 100644 index 000000000..13d0c73be Binary files /dev/null and b/docs/assets/covers/chapter_heap.jpg differ diff --git a/docs/assets/covers/chapter_introduction.jpg b/docs/assets/covers/chapter_introduction.jpg new file mode 100644 index 000000000..8b2d3c1e7 Binary files /dev/null and b/docs/assets/covers/chapter_introduction.jpg differ diff --git a/docs/assets/covers/chapter_preface.jpg b/docs/assets/covers/chapter_preface.jpg new file mode 100644 index 000000000..8e7e99cfa Binary files /dev/null and b/docs/assets/covers/chapter_preface.jpg differ diff --git a/docs/assets/covers/chapter_searching.jpg b/docs/assets/covers/chapter_searching.jpg new file mode 100644 index 000000000..8dce9d89e Binary files /dev/null and b/docs/assets/covers/chapter_searching.jpg differ diff --git a/docs/assets/covers/chapter_sorting.jpg b/docs/assets/covers/chapter_sorting.jpg new file mode 100644 index 000000000..678a2627f Binary files /dev/null and b/docs/assets/covers/chapter_sorting.jpg differ diff --git a/docs/assets/covers/chapter_stack_and_queue.jpg b/docs/assets/covers/chapter_stack_and_queue.jpg new file mode 100644 index 000000000..6642497b7 Binary files /dev/null and b/docs/assets/covers/chapter_stack_and_queue.jpg differ diff --git a/docs/assets/covers/chapter_tree.jpg b/docs/assets/covers/chapter_tree.jpg new file mode 100644 index 000000000..56c7b1491 Binary files /dev/null and b/docs/assets/covers/chapter_tree.jpg differ diff --git a/docs/chapter_array_and_linkedlist/index.md b/docs/chapter_array_and_linkedlist/index.md new file mode 100644 index 000000000..e086bff41 --- /dev/null +++ b/docs/chapter_array_and_linkedlist/index.md @@ -0,0 +1,7 @@ +# 数组与链表 + +
+ +![数组与链表](../assets/covers/chapter_array_and_linkedlist.jpg){ width="70%" } + +
diff --git a/docs/chapter_backtracking/index.md b/docs/chapter_backtracking/index.md new file mode 100644 index 000000000..ea4d12d5a --- /dev/null +++ b/docs/chapter_backtracking/index.md @@ -0,0 +1,7 @@ +# 回溯 + +
+ +![回溯](../assets/covers/chapter_backtracking.jpg){ width="70%" } + +
diff --git a/docs/chapter_computational_complexity/index.md b/docs/chapter_computational_complexity/index.md new file mode 100644 index 000000000..80bc79982 --- /dev/null +++ b/docs/chapter_computational_complexity/index.md @@ -0,0 +1,7 @@ +# 复杂度分析 + +
+ +![复杂度分析](../assets/covers/chapter_complexity_analysis.jpg){ width="70%" } + +
diff --git a/docs/chapter_data_structure/index.md b/docs/chapter_data_structure/index.md new file mode 100644 index 000000000..57c75245a --- /dev/null +++ b/docs/chapter_data_structure/index.md @@ -0,0 +1,7 @@ +# 数据结构简介 + +
+ +![数据结构](../assets/covers/chapter_data_structure.jpg){ width="70%" } + +
diff --git a/docs/chapter_graph/index.md b/docs/chapter_graph/index.md new file mode 100644 index 000000000..b16477800 --- /dev/null +++ b/docs/chapter_graph/index.md @@ -0,0 +1,7 @@ +# 图 + +
+ +![图](../assets/covers/chapter_graph.jpg){ width="70%" } + +
diff --git a/docs/chapter_hashing/index.md b/docs/chapter_hashing/index.md new file mode 100644 index 000000000..029b261bf --- /dev/null +++ b/docs/chapter_hashing/index.md @@ -0,0 +1,7 @@ +# 散列表 + +
+ +![散列表](../assets/covers/chapter_hashing.jpg){ width="70%" } + +
diff --git a/docs/chapter_heap/index.md b/docs/chapter_heap/index.md new file mode 100644 index 000000000..ef2deb579 --- /dev/null +++ b/docs/chapter_heap/index.md @@ -0,0 +1,7 @@ +# 堆 + +
+ +![堆](../assets/covers/chapter_heap.jpg){ width="70%" } + +
diff --git a/docs/chapter_introduction/index.md b/docs/chapter_introduction/index.md new file mode 100644 index 000000000..65e00e1d0 --- /dev/null +++ b/docs/chapter_introduction/index.md @@ -0,0 +1,7 @@ +# 引言 + +
+ +![引言](../assets/covers/chapter_introduction.jpg){ width="70%" } + +
diff --git a/docs/chapter_preface/index.md b/docs/chapter_preface/index.md new file mode 100644 index 000000000..04af54307 --- /dev/null +++ b/docs/chapter_preface/index.md @@ -0,0 +1,7 @@ +# 写在前面 + +
+ +![写在前面](../assets/covers/chapter_preface.jpg){ width="70%" } + +
diff --git a/docs/chapter_searching/index.md b/docs/chapter_searching/index.md new file mode 100644 index 000000000..82f223cc6 --- /dev/null +++ b/docs/chapter_searching/index.md @@ -0,0 +1,7 @@ +# 搜索 + +
+ +![搜索](../assets/covers/chapter_searching.jpg){ width="70%" } + +
diff --git a/docs/chapter_sorting/index.md b/docs/chapter_sorting/index.md new file mode 100644 index 000000000..b1d8483d0 --- /dev/null +++ b/docs/chapter_sorting/index.md @@ -0,0 +1,7 @@ +# 排序 + +
+ +![排序](../assets/covers/chapter_sorting.jpg){ width="70%" } + +
diff --git a/docs/chapter_stack_and_queue/index.md b/docs/chapter_stack_and_queue/index.md new file mode 100644 index 000000000..7d86a78b9 --- /dev/null +++ b/docs/chapter_stack_and_queue/index.md @@ -0,0 +1,7 @@ +# 栈与队列 + +
+ +![栈与队列](../assets/covers/chapter_stack_and_queue.jpg){ width="70%" } + +
diff --git a/docs/chapter_tree/index.md b/docs/chapter_tree/index.md new file mode 100644 index 000000000..3d773a847 --- /dev/null +++ b/docs/chapter_tree/index.md @@ -0,0 +1,7 @@ +# 树 + +
+ +![树](../assets/covers/chapter_tree.jpg){ width="70%" } + +
diff --git a/mkdocs.yml b/mkdocs.yml index f3ae2b6fd..d54c9ab8f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -125,39 +125,47 @@ extra_css: # Page tree nav: - 0.     写在前面: + - chapter_preface/index.md - 0.1.   关于本书: chapter_preface/about_the_book.md - 0.2.   如何使用本书: chapter_preface/suggestions.md - 0.3.   小结: chapter_preface/summary.md - 1.     引言: + - chapter_introduction/index.md - 1.1.   算法无处不在: chapter_introduction/algorithms_are_everywhere.md - 1.2.   算法是什么: chapter_introduction/what_is_dsa.md - 1.3.   小结: chapter_introduction/summary.md - 2.     复杂度分析: + - chapter_computational_complexity/index.md - 2.1.   算法效率评估: chapter_computational_complexity/performance_evaluation.md - 2.2.   时间复杂度: chapter_computational_complexity/time_complexity.md - 2.3.   空间复杂度: chapter_computational_complexity/space_complexity.md - 2.4.   小结: chapter_computational_complexity/summary.md - 3.     数据结构简介: + - chapter_data_structure/index.md - 3.1.   数据结构分类: chapter_data_structure/classification_of_data_structure.md - 3.2.   基本数据类型: chapter_data_structure/basic_data_types.md - 3.3.   数字编码 *: chapter_data_structure/number_encoding.md - 3.4.   字符编码 *: chapter_data_structure/character_encoding.md - 3.5.   小结: chapter_data_structure/summary.md - 4.     数组与链表: + - chapter_array_and_linkedlist/index.md - 4.1.   数组: chapter_array_and_linkedlist/array.md - 4.2.   链表: chapter_array_and_linkedlist/linked_list.md - 4.3.   列表: chapter_array_and_linkedlist/list.md - 4.4.   小结: chapter_array_and_linkedlist/summary.md - 5.     栈与队列: + - chapter_stack_and_queue/index.md - 5.1.   栈: chapter_stack_and_queue/stack.md - 5.2.   队列: chapter_stack_and_queue/queue.md - 5.3.   双向队列: chapter_stack_and_queue/deque.md - 5.4.   小结: chapter_stack_and_queue/summary.md - 6.     散列表: + - chapter_hashing/index.md - 6.1.   哈希表: chapter_hashing/hash_map.md - 6.2.   哈希冲突处理: chapter_hashing/hash_collision.md - 6.3.   小结: chapter_hashing/summary.md - 7.     树: + - chapter_tree/index.md - 7.1.   二叉树: chapter_tree/binary_tree.md - 7.2.   二叉树遍历: chapter_tree/binary_tree_traversal.md - 7.3.   二叉树数组表示: chapter_tree/array_representation_of_tree.md @@ -165,21 +173,25 @@ nav: - 7.5.   AVL 树 *: chapter_tree/avl_tree.md - 7.6.   小结: chapter_tree/summary.md - 8.     堆: + - chapter_heap/index.md - 8.1.   堆: chapter_heap/heap.md - 8.2.   建堆操作 *: chapter_heap/build_heap.md - 8.3.   小结: chapter_heap/summary.md - 9.     图: + - chapter_graph/index.md - 9.1.   图: chapter_graph/graph.md - 9.2.   图基础操作: chapter_graph/graph_operations.md - 9.3.   图的遍历: chapter_graph/graph_traversal.md - 9.4.   小结: chapter_graph/summary.md - - 10.     搜索算法: + - 10.     搜索: + - chapter_searching/index.md - 10.1.   二分查找(New): chapter_searching/binary_search.md - 10.2.   二分查找边界(New): chapter_searching/binary_search_edge.md - 10.3.   哈希优化策略: chapter_searching/replace_linear_by_hashing.md - 10.4.   重识搜索算法: chapter_searching/searching_algorithm_revisited.md - 10.5.   小结: chapter_searching/summary.md - - 11.     排序算法: + - 11.     排序: + - chapter_sorting/index.md - 11.1.   排序算法: chapter_sorting/sorting_algorithm.md - 11.2.   选择排序(New): chapter_sorting/selection_sort.md - 11.3.   冒泡排序: chapter_sorting/bubble_sort.md @@ -191,10 +203,11 @@ nav: - 11.9.   计数排序: chapter_sorting/counting_sort.md - 11.10.   基数排序: chapter_sorting/radix_sort.md - 11.11.   小结: chapter_sorting/summary.md - - 12.     回溯算法: - - 12.1.   回溯算法(New): chapter_backtracking/backtracking_algorithm.md - - 12.2.   全排列问题(New): chapter_backtracking/permutations_problem.md - - 12.3.   N 皇后问题(New): chapter_backtracking/n_queens_problem.md + - 12.     回溯: + - chapter_backtracking/index.md + - 12.1.   回溯算法: chapter_backtracking/backtracking_algorithm.md + - 12.2.   全排列问题: chapter_backtracking/permutations_problem.md + - 12.3.   N 皇后问题: chapter_backtracking/n_queens_problem.md - 13.     附录: - 13.1.   编程环境安装: chapter_appendix/installation.md - 13.2.   一起参与创作: chapter_appendix/contribution.md