Skip to content

Commit ff13533

Browse files
author
lanyuanxiaoyao
committed
修改文件: _posts/2017-03-10-selection-sort.md
1 parent b2f663c commit ff13533

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_posts/2017-03-10-selection-sort.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ date: 2017-03-10 15:27
55
categories: 排序专题
66
tags: [排序,总结]
77
---
8+
9+
* content
10+
{:toc}
11+
812
## 概念
913
**选择排序**是一种简单直观的排序算法,首先在未排序序列中找到最小(大)元素,存放到排序序列的起始位置,然后,再从剩余未排序元素中继续寻找最小(大)元素,然后放到已排序序列的末尾。以此类推,直到所有元素均排序完毕.
1014
顾名思意,就是直接从待排序数组里选择一个最小(或最大)的数字,每次都拿一个最小数字出来,

0 commit comments

Comments
 (0)