文件名称:Demo1
-
所属分类:
- 标签属性:
- 上传时间:2013-06-19
-
文件大小:1021byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
冒泡排序(Bubble Sort),是一种计算机科学领域的较简单的排序算法。
它重复地走访过要排序的数列,一次比较两个元素,如果他们的顺序错误就把他们交换过来。走访数列的工作是重复地进行直到没有再需要交换,也就是说该数列已经排序完成。
这个算法的名字由来是因为越小的元素会经由交换慢慢“浮”到数列的顶端,故名。
由于冒泡排序简洁的特点,它通常被用来对于计算机程序设计入门的学生介绍算法的概念。
-Bubble sort (Bubble Sort), is a field of computer science is relatively simple sorting algorithm.
It repeatedly visited numbers to be sorted out, a comparison of two elements, if they put them in the wrong order switched over. Visited the series work is repeatedly performed until no longer need to exchange, ie the sum of the already sorted completed.
Origin of the name of this algorithm is because the smaller the elements slowly through the exchange of "float" to the top of the series, hence the name.
Because the characteristics of simple bubble sort, which is often used for introductory computer programming introduces students to the concept of the algorithm.
它重复地走访过要排序的数列,一次比较两个元素,如果他们的顺序错误就把他们交换过来。走访数列的工作是重复地进行直到没有再需要交换,也就是说该数列已经排序完成。
这个算法的名字由来是因为越小的元素会经由交换慢慢“浮”到数列的顶端,故名。
由于冒泡排序简洁的特点,它通常被用来对于计算机程序设计入门的学生介绍算法的概念。
-Bubble sort (Bubble Sort), is a field of computer science is relatively simple sorting algorithm.
It repeatedly visited numbers to be sorted out, a comparison of two elements, if they put them in the wrong order switched over. Visited the series work is repeatedly performed until no longer need to exchange, ie the sum of the already sorted completed.
Origin of the name of this algorithm is because the smaller the elements slowly through the exchange of "float" to the top of the series, hence the name.
Because the characteristics of simple bubble sort, which is often used for introductory computer programming introduces students to the concept of the algorithm.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Demo1.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.