Introduction - If you have any usage issues, please Google them yourself
traditional Bubble Sort method is operated : former next, followed by two more adjacent elements, if Roget will exchange value of the two elements, and then continue later operation; The tail of the data, it found a maximum (or minimum). Then repeat the operation of the above n-1 (n is the number of elements). The improvements : In accordance with the above approach to the operation of the first scanning the maximum (or minimum number) onto the surface of the final location of the second scan in fact only need to scan the penultimate position can be, a place for the final judgment has not come to the end of operation are similar. Such procedures can reduce the run time.
Packet : 77433664利用双向走动法改进冒泡排序算法c语言源代码 .rar filelist
利用双向走动法改进冒泡排序算法C语言源代码 .doc