Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2f44da4

Browse files
AnHongpengidsbllp
AnHongpeng
authored andcommitted
fix 2.selectionSort.md (hustcc#10)
* fix bubbleSort.md * fix 2.selectionSort.md 使用选择排序,待排序队列中的相同元素可能在排序后位置互换,因此选择排序是不稳定排序。这里的"是表现最稳定的排序算法之一"有歧义
1 parent c80611a commit 2f44da4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎2.selectionSort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 选择排序
22

3-
选择排序是一种简单直观的排序算法,是表现最稳定的排序算法之一,因为无论什么数据进去都是 O(n2) 的时间复杂度。所以用到它的时候,数据规模越小越好。唯一的好处可能就是不占用额外的内存空间了吧。
3+
选择排序是一种简单直观的排序算法,无论什么数据进去都是 O(n2) 的时间复杂度。所以用到它的时候,数据规模越小越好。唯一的好处可能就是不占用额外的内存空间了吧。
44

55

66
## 1. 算法步骤

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /