Location:
Search - 冒泡排序算法
Search list
Description: 传统的冒泡排序法是这样操作:从前往后,依次比较两个相邻的元素,如果逆序则交换这两个元素值,然后继续往后操作;到了数据尾部时,就找出了一个最大值(或最小值)。然后重复上面的操作n-1次(n为元素个数)。相关的改进办法:按照上面的办法来操作的话,第一次扫描把最大数(或最小数)放到最后面的位置,第二次扫描时其实只需要扫描到倒数第二个位置就可以了,因为最后一个位置已经不需要判断了,以后的操作都是类似的。这样可以减小程序运行时间。-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.
Platform: |
Size: 4316 |
Author: 张庚 |
Hits:
Description: 冒泡排序算法
Platform: |
Size: 1045 |
Author: 12976181@qq.com |
Hits:
Description: 分别实现直接插入排序、冒泡排序、简单选择排序、希尔排序、快速排序、堆排序,并随机生成30个数,比较各算法的时、空性能和稳定性。-respectively direct insertion sort, bubble sort, simple choice, in order of ranking Hill, the quick sort, heap sort, and Random Number Generation 30, a comparison algorithm, the performance and stability of the air.
Platform: |
Size: 342016 |
Author: 李景良 |
Hits:
Description: 本程序实现各种排序算法并分析与比较 直接插入排序, SHELL排序,冒泡排序,快速排序,简单选择排序,堆排序,归并排序-procedures for the realization of the algorithm and analysis more directly inserted, in order of ranking SHELL, Bubble Sort, rapid sequencing, simple choice, in order of ranking sculpture, merging Sorting
Platform: |
Size: 3072 |
Author: 李南宁 |
Hits:
Description: 利用C语言实现,8种排序算法! 例如:插入排序、快速排序、选择排序、冒泡排序、堆排序、希尔排序、归并排序、基数排序!-using C language, eight algorithm! For example : insert sequencing, Quick Sort, select, in order of Bubble Sort, heap sort, Hill sorting, merging, in order of ranking base!
Platform: |
Size: 3072 |
Author: 叶兆源 |
Hits:
Description: 实现了插入排序,希尔排序, 冒泡排序,快速排序,选择排序,堆排序和归并排序,以及可以对排序的性能进行分析,较适合用作排序算法的学习-achieved insertion sort, Hill, in order Bubble Sort, quick sort, select, in order of ranking and sculpture merge sorting, and sequencing can analyze the performance and more appropriate for the learning algorithm
Platform: |
Size: 1902592 |
Author: 叶靥 |
Hits:
Description: 用java实现的数据结构排序算法,包括:选择排序、插入排序、冒泡排序、希尔排序、快速排序、堆排序、归并排序。-used to achieve the ranking algorithm data structure, including : Select, in order of insertion sequence and Bubble Sort, Hill sequencing, rapid sequencing, heap sort, merging sequencing.
Platform: |
Size: 54272 |
Author: 陈为 |
Hits:
Description: 传统的冒泡排序法是这样操作:从前往后,依次比较两个相邻的元素,如果逆序则交换这两个元素值,然后继续往后操作;到了数据尾部时,就找出了一个最大值(或最小值)。然后重复上面的操作n-1次(n为元素个数)。相关的改进办法:按照上面的办法来操作的话,第一次扫描把最大数(或最小数)放到最后面的位置,第二次扫描时其实只需要扫描到倒数第二个位置就可以了,因为最后一个位置已经不需要判断了,以后的操作都是类似的。这样可以减小程序运行时间。-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.
Platform: |
Size: 4096 |
Author: 张庚 |
Hits:
Description: 数据结构课程设计:冒泡、快速排序的比较,用C语言编写,调试成功-curriculum design data structure : Bubble, rapid sequencing of comparison, the C language, debugging success
Platform: |
Size: 2048 |
Author: |
Hits:
Description: 常用的数据结构排序和查找算法:简单选择排序,冒泡排序,折半插入排序,快速排序,堆排序 顺序查找,折半查找.-commonly used data structures sorting and searching algorithms : simple choice, in order of Bubble Sort, half insertion sort, rapid sequencing, Heap Sort sequence search, binary search.
Platform: |
Size: 2048 |
Author: |
Hits:
Description: 用C++语言简单的实现数据结构中数据的冒泡排序算法的程序代码-With C++ Language realize simple data structure of data in Bubble Sort algorithm code
Platform: |
Size: 229376 |
Author: linronghong |
Hits:
Description: 一个简单的排序算法
冒泡排序算法
下载-A simple sorting algorithm bubble sort algorithm download
Platform: |
Size: 148480 |
Author: mialwjc |
Hits:
Description: 冒泡排序、快速排序、希尔排序、堆排序等等常用的排序算法。C/C++实现(Bubble sort, quick sort, Hill sort, heap sort, and so on, commonly used sorting algorithm. C/C++ implementation)
Platform: |
Size: 972800 |
Author: variance
|
Hits:
Description: 冒泡排序(Bubble Sort,台湾译为:泡沫排序或气泡排序)是一种简单的排序算法。它重复地走访过要排序的数列,一次比较两个元素,如果他们的顺序错误就把他们交换过来。走访数列的工作是重复地进行直到没有再需要交换,也就是说该数列已经排序完成。(Bubble sort (Bubble Sort, Taiwan: bubble sort or bubble sort) is a simple sorting algorithm. It repeats the sequence to sort, compares two elements at once, and exchanges them if their order is wrong. The work of the visiting sequence is repeated until there is no need for exchange, that is, the sequence has been sorted.)
Platform: |
Size: 1982464 |
Author: Somnus2018
|
Hits:
Description: 冒泡排序算法,最简单的数据结构排序算法,希望大家喜欢(Bubble sort algorithm)
Platform: |
Size: 1024 |
Author: imba66
|
Hits:
Description: 多种排序算法合集,冒泡排序、快排、选择排序、希尔排序算法、插值排序算法、c++程序实现(Multiple sorting algorithm)
Platform: |
Size: 2048 |
Author: langyuan
|
Hits:
Description: 对冒泡排序进行改进。减少循环次数,降低算法复杂度(Improved bubble sort)
Platform: |
Size: 707584 |
Author: 周蛋宝
|
Hits:
Description: 本例程是对于冒泡、插入,归并等7种排序算法的程序实现,归纳在一起可做比较(This routine is a program implementation of 7 sorting algorithms, such as bubbling, inserting, merging, and so on.)
Platform: |
Size: 29696 |
Author: 煜沉 |
Hits:
Description: 常见6种内排序算法,冒泡排序,直接插入排序,直接选择排序,快速排序,希尔排序,堆排序(Common 6 internal sorting algorithms, bubble sort, direct insertion sort, direct selection sort, quick sort, Hill sort, heap sort)
Platform: |
Size: 3072 |
Author: 苍痕 |
Hits:
Description: 部分常用排序算法的代码实现 如冒泡排序,快速排序等(Code implementation of some commonly used sorting algorithms)
Platform: |
Size: 26624 |
Author: Farggle |
Hits:
« 12
3
4
5
6
7
8
9
10
...
41
»