文件名称:200661131050069
介绍说明--下载内容来自于网络,使用问题请自行百度
选择排序是一种比较优化的排序,它定义的k意义在于表示一次循环后找到的最小(大)值的位置,然后让第i个(第几次循环就是第几个)植交换,这样在第一轮循环中就把最小(大)的值换到了最前面,如果只用i,j 的话,就没有办法找出待排序数据中的最值了
比较排序也叫冒泡排序,就是把相邻的数据比较交换,因为其把小的数字从后面往前慢慢移动,感觉象水泡上升一样,所以叫冒泡排序法.
如过你还没理解,留言~-SELECTION SORT is a more optimal sequencing, its definition of k significance lies in a circle said they find the smallest (large) value of the location, i then allow the first (the first cycle was the first several several) plant exchange, this cycle in the first round put the smallest (CUHK) for the value of the front, if only i, j, then there is no way to identify sequencing data to be the most value compared sequencing is also called Bubble Sort. adjacent is to the comparison of data exchange, because of their small numbers from the back slowly moving forward, Soak up feeling like the same, so called Bubble Sort law. No off if you understand that message ~
比较排序也叫冒泡排序,就是把相邻的数据比较交换,因为其把小的数字从后面往前慢慢移动,感觉象水泡上升一样,所以叫冒泡排序法.
如过你还没理解,留言~-SELECTION SORT is a more optimal sequencing, its definition of k significance lies in a circle said they find the smallest (large) value of the location, i then allow the first (the first cycle was the first several several) plant exchange, this cycle in the first round put the smallest (CUHK) for the value of the front, if only i, j, then there is no way to identify sequencing data to be the most value compared sequencing is also called Bubble Sort. adjacent is to the comparison of data exchange, because of their small numbers from the back slowly moving forward, Soak up feeling like the same, so called Bubble Sort law. No off if you understand that message ~
(系统自动生成,下载前可以参看下载内容)
下载文件列表
堆排序.doc
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.