We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f663c commit ff13533Copy full SHA for ff13533
_posts/2017-03-10-selection-sort.md
@@ -5,6 +5,10 @@ date: 2017-03-10 15:27
5
categories: 排序专题
6
tags: [排序,总结]
7
---
8
+
9
+* content
10
+{:toc}
11
12
## 概念
13
**选择排序**是一种简单直观的排序算法,首先在未排序序列中找到最小(大)元素,存放到排序序列的起始位置,然后,再从剩余未排序元素中继续寻找最小(大)元素,然后放到已排序序列的末尾。以此类推,直到所有元素均排序完毕.
14
顾名思意,就是直接从待排序数组里选择一个最小(或最大)的数字,每次都拿一个最小数字出来,
0 commit comments