Skip to content

Commit ae46a2a

Browse files
authored
Update 1.bubbleSort.md
1 parent 4d09d57 commit ae46a2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

1.bubbleSort.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
## 3. 什么时候最快
2525

2626
当输入的数据已经是正序时(都已经是正序了,我还要你冒泡排序有何用啊)。
27+
这时只进行一趟排序:元素比较次数为n-1,元素移动为0。
2728

2829

2930
## 4. 什么时候最慢

0 commit comments

Comments
 (0)