update at 2021-05-24 23:12:21 by ehlxr
parent
f5ff83737c
commit
3b5b3b50a9
|
@ -33,6 +33,7 @@ import java.util.Arrays;
|
||||||
* 下一次继续这个过程,直到所有数据元素都排好序。
|
* 下一次继续这个过程,直到所有数据元素都排好序。
|
||||||
* <p>
|
* <p>
|
||||||
* 算法的核心在于每次通过两两比较交换位置,选出剩余无序序列里最大(小)的数据元素放到队尾。
|
* 算法的核心在于每次通过两两比较交换位置,选出剩余无序序列里最大(小)的数据元素放到队尾。
|
||||||
|
* 时间复杂度:O(n²)
|
||||||
*
|
*
|
||||||
* @author ehlxr
|
* @author ehlxr
|
||||||
* @since 2020-10-01 16:40.
|
* @since 2020-10-01 16:40.
|
||||||
|
|
Loading…
Reference in New Issue