-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59ea1d6
commit a16e1d1
Showing
90 changed files
with
213 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,41 @@ | ||
# 排序 | ||
|
||
## 基本概念 | ||
## 1. 基本概念 | ||
|
||
- 排序定义 | ||
- 时空复杂度 | ||
- 稳定性 | ||
|
||
![排序基本概念1](concept1.png) | ||
|
||
![排序基本概念2](concept2.png) | ||
|
||
![排序基本概念3](concept3.png) | ||
|
||
![排序基本概念4](concept4.png) | ||
|
||
![排序基本概念5](concept5.png) | ||
|
||
## 2. 内部排序算法 | ||
|
||
- [直接插入排序](direct-insertion-sort/README.md#直接插入排序) | ||
- [折半插入排序](binary-insertion-sort/README.md#折半插入排序) | ||
- [希尔排序](shell-sort/README.md#希尔排序) | ||
- [冒泡排序](bubble-sort/README.md#冒泡排序) | ||
- [快速排序](quick-sort/README.md#快速排序) | ||
- [简单选择排序](simple-selection-sort/README.md#简单选择排序) | ||
- [堆排序](heap-sort/README.md#堆排序) | ||
- [归并排序](merge-sort/README.md#归并排序) | ||
- [基数排序](cardinal-sort/README.md#基数排序) | ||
|
||
![内部排序算法总结比较1](summary1.png) | ||
|
||
![内部排序算法总结比较2](summary2.png) | ||
|
||
![内部排序算法总结比较3](summary3.png) | ||
|
||
## 3. [外部排序](external-sort/README.md#外部排序) | ||
|
||
- [失败树](external-sort/README.md#1-失败树) | ||
- [置换-选择排序](external-sort/README.md#2-置换-选择排序) | ||
- [最佳归并树](external-sort/README.md#3-最佳归并树) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# 折半插入排序 | ||
|
||
![折半插入排序1](bis1.png) | ||
|
||
![折半插入排序2](bis2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# 冒泡排序 | ||
|
||
![冒泡排序1](bs1.png) | ||
|
||
![冒泡排序2](bs2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# 基数排序 | ||
|
||
![基数排序1](cs1.png) | ||
|
||
![基数排序2](cs2.png) | ||
|
||
![基数排序3](cs3.png) | ||
|
||
![基数排序4](cs4.png) | ||
|
||
![基数排序5](cs5.png) | ||
|
||
![基数排序6](cs6.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 直接插入排序 | ||
|
||
![直接插入排序1](dis1.png) | ||
|
||
![直接插入排序2](dis2.png) | ||
|
||
![直接插入排序3](dis3.png) | ||
|
||
![直接插入排序4](dis4.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# 外部排序 | ||
|
||
![外部排序1](es1.png) | ||
|
||
![外部排序2](es2.png) | ||
|
||
![外部排序3](es3.png) | ||
|
||
![外部排序4](es4.png) | ||
|
||
![外部排序5](es5.png) | ||
|
||
![外部排序6](es6.png) | ||
|
||
## 1. 失败树 | ||
|
||
![失败树1](ft1.png) | ||
|
||
![失败树2](ft2.png) | ||
|
||
## 2. 置换-选择排序 | ||
|
||
![置换-选择排序1](pss1.png) | ||
|
||
![置换-选择排序2](pss2.png) | ||
|
||
## 3. 最佳归并树 | ||
|
||
![最佳归并树1](bmt1.png) | ||
|
||
![最佳归并树2](bmt2.png) | ||
|
||
![最佳归并树3](bmt3.png) | ||
|
||
![最佳归并树4](bmt4.png) | ||
|
||
![最佳归并树5](bmt5.png) | ||
|
||
![最佳归并树6](bmt6.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# 堆排序 | ||
|
||
![堆排序1](hs1.png) | ||
|
||
![堆排序2](hs2.png) | ||
|
||
![堆排序3](hs3.png) | ||
|
||
![堆排序4](hs4.png) | ||
|
||
![堆排序5](hs5.png) | ||
|
||
![堆排序6](hs6.png) | ||
|
||
![堆排序7](hs7.png) | ||
|
||
![堆排序8](hs8.png) | ||
|
||
![堆排序9](hs9.png) | ||
|
||
![堆排序10](hs10.png) | ||
|
||
![堆排序11](hs11.png) | ||
|
||
![堆排序12](hs12.png) | ||
|
||
![堆排序13](hs13.png) | ||
|
||
![堆排序14](hs14.png) | ||
|
||
![堆排序15](hs15.png) | ||
|
||
![堆排序16](hs16.png) | ||
|
||
![堆排序17](hs17.png) | ||
|
||
![堆排序18](hs18.png) | ||
|
||
![堆排序19](hs19.png) |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# 归并排序 | ||
|
||
![归并排序1](ms1.png) | ||
|
||
![归并排序2](ms2.png) | ||
|
||
![归并排序3](ms3.png) | ||
|
||
![归并排序4](ms4.png) | ||
|
||
![归并排序5](ms5.png) | ||
|
||
![归并排序6](ms6.png) | ||
|
||
![归并排序7](ms7.png) | ||
|
||
![归并排序8](ms8.png) | ||
|
||
![归并排序9](ms9.png) | ||
|
||
![归并排序10](ms10.png) |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 快速排序 | ||
|
||
![快速排序1](qs1.png) | ||
|
||
![快速排序2](qs2.png) | ||
|
||
![快速排序3](qs3.png) | ||
|
||
![快速排序4](qs4.png) | ||
|
||
![快速排序5](qs5.png) |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 希尔排序 | ||
|
||
![希尔排序1](ss1.png) | ||
|
||
![希尔排序2](ss2.png) | ||
|
||
![希尔排序3](ss3.png) | ||
|
||
![希尔排序4](ss4.png) |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# 简单选择排序 | ||
|
||
![简单选择排序1](sss1.png) | ||
|
||
![简单选择排序2](sss2.png) |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.