文件名称:gaijin
介绍说明--下载内容均来自于网络,请自行研究使用
冒泡法是数据排序的一种基本算法,它的基本方法是:相邻两元素进行比较,如有需要则进行交换,
每完成一次循环就将最小元素排在最后(如从大到小排序),下一次循环是将其他的数进行类似操作?
如将N 个数按从大到小排序,Turbo C语言程序函数-Bubble sort is one of the basic data algorithm, and its basic method is: to compare two adjacent elements, if necessary will carry out the exchange, each will complete a cycle at the end of the smallest elements (such as the smallest order ), the next cycle is a number of other similar operations? such as N by the smallest number of sorting, Turbo C language program function
每完成一次循环就将最小元素排在最后(如从大到小排序),下一次循环是将其他的数进行类似操作?
如将N 个数按从大到小排序,Turbo C语言程序函数-Bubble sort is one of the basic data algorithm, and its basic method is: to compare two adjacent elements, if necessary will carry out the exchange, each will complete a cycle at the end of the smallest elements (such as the smallest order ), the next cycle is a number of other similar operations? such as N by the smallest number of sorting, Turbo C language program function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
gaijin.c