冒泡排序

获取结果:

array(11) {
[0]=>
int(1)
[1]=>
int(5)
[2]=>
int(6)
[3]=>
int(8)
[4]=>
int(10)
[5]=>
int(13)
[6]=>
int(18)
[7]=>
int(25)
[8]=>
int(31)
[9]=>
int(72)
[10]=>
int(88)
}

算是了解了冒泡排序的运行机制  冒泡排序肯定有很多的优化方法 接下来着重关注

原文地址:https://www.cnblogs.com/shiyongzhe/p/9928385.html