Update table of content

pull/97/head
Yudong Jin 2022-12-11 03:06:22 +08:00
parent 5e9a5524d4
commit 0eebeea530
3 changed files with 3 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -2,14 +2,14 @@
comments: true
---
# 排序算法
# 排序简介
「排序算法 Sorting Algorithm」使得列表中的所有元素按照从小到大的顺序排列。
- 待排序的列表的 **元素类型** 可以是整数、浮点数、字符、或字符串;
- 排序算法可以根据需要设定 **判断规则** ,例如数字大小、字符 ASCII 码顺序、自定义规则;
![sorting_examples](index.assets/sorting_examples.png)
![sorting_examples](intro_to_sort.assets/sorting_examples.png)
<p align="center"> Fig. 排序中的不同元素类型和判断规则 </p>

View File

@ -162,7 +162,7 @@ nav:
- 哈希查找: chapter_searching/hashing_search.md
- 小结: chapter_searching/summary.md
- 排序算法:
- chapter_sorting/index.md
- 排序简介: chapter_sorting/intro_to_sort.md
- 冒泡排序: chapter_sorting/bubble_sort.md
- 插入排序: chapter_sorting/insertion_sort.md
- 快速排序: chapter_sorting/quick_sort.md