文件名称: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 ~
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 49636989200661131050069.rar 列表 堆排序.doc