搜索资源列表
sort
- 能够实现起泡法,二分法,堆排序,插入排序,选择排序,快速排序六种方法对100个数进行排序的时间空间复杂度进行比较-To achieve foaming method, dichotomy, Heap Sort, Insertion Sort, Selection Sort, Quick Sort six methods on 100 the number of sort of time and space complexity comparison
paixu
- 快速排序的递归算法实现 效率要比选择法排序、冒泡法排序要高-Quick Sort efficient recursive algorithm than selection sort, bubble sort method higher
Selectionmethodtosortstrings
- 选择法进行字符串排序.cpp,该文件实用C++编程 方便简单-Selection method to sort strings
Sort
- 对一组数据实现排序,采用冒泡法,选择法,双向冒泡法等-The realization of a set of data to sort using bubble law, choice of law, such as bi-directional Bubble Act
1
- 数据结构 内部排序分析(C++源代码) 其中包括 第一种算法为选择排序,二为插入排序,三是冒泡排序,六是二分法插入排序-Analysis of internal data structure to sort (C++ source code) which includes an algorithm for the selection of the first order, second for the Insertion Sort, Bubble Sort is three, six is
order
- 选择法排序原理:一次选定数组中的每一个数,记下当前位置并假设它是从当前位置开始后面数中的最小数min=i,从这个数的下一个数开始扫描直到最后一个数,并记录下最小数的位置min,扫描结束后如果min不等于i,说明假设错误,则交换min与i位置上数。-Selection sort works: each time the selected number of the array, note the current position and assume that it is behind a num
program
- 一个初级C++程序,用于实现排序法(有序,无序)和查找法(选择,插入,冒泡),集中了一些C++基本技巧,供初学者参考-A Junior C++ program used to implement sorting method (order, disorder), and search method (selection, insertion, bubble), brings together a number of C++ basic skills for beginners reference
Ktongfa
- 著名的大数量的排序算法--K桶排序法~在数据文本式的大数据排序时,K桶法会是一个不错的选择! k桶法:k桶法有两个主要步骤:分桶,整合。 分桶:把n个数依次放入k个桶中,除了第k个桶外,放入前k 1个桶中的数都要求后一个大于 前一个。分桶的具体规则如下: 第1个数放入第一个桶内,第2个数若大于第一个桶中的数(即第一个数)则放入第一个桶内, 否则放入第二桶内,以此类推。设现要将第j个数放入某桶中,先从第一个桶试起,若第j个 数大于当前第一个桶中最
c-language-classic-sorting-algorithm
- 介绍了希尔排序,二分插入法,冒泡排序,选择排序等8经典的排序算法-Hill sort insertion, bubble sort, selection sort 8 classic sorting algorithms
Fibonacci
- 可以生成FIbonacci数列,初始化从一开始,产生给定个数的Fibonacci数列。求质数,起泡法,选择排序。-Fibonacci array
c
- 选择排序法 选择排序法 选择排序法-Select sort method to choose the sort method to choose the sort method to choose sorting method
select
- 选择排序的比较:(1)生成一组随机数以顺序方式存储,并输出。(2)利用选择排序法排序,同时统计比较次数和移动次数,显示结果。(3)利用堆排序法排序,同时统计比较次数和移动次数,显示结果。-Sorted comparison: (a) generating a set of random numbers is stored in a sequential manner, and output. (2) the use of select sort order, and statistical co
code
- 该程序为利用选择排序法给数组排序的程序。-Select the method to use to sort an array of programs.
selection-sort
- 选择排序算法,可以实现排序功能。是一种十分方便的排序法-Select sorting algorithm, can achieve the sort function. Sorting is a very convenient method
Heap-sort
- Heap排序法让搜寻的路径由树根至最后一个树叶,而不是整个未排序部份,因而称之为改良的选择排序法。-Heap sort to make a path the root to search for the last one leaves, rather than the entire unsorted part, which is called a modified selection sort.
xuanzeandcharu
- 选择排序法和直接插入排序法的简单实现代码-Select sort method and direct insertion sort simple implementation code
sort
- 基数排序 基数排序(radix sort)属于“分配式排序”(distribution sort),又称“桶子法”(bucket sort)或bin sort,顾名思义,它是透过键值的部份资讯,将要排序的元素分配至某些“桶”中,藉以达到排序的作用,基数排序法是属于稳定性的排序,其时间复杂度为O (nlog(r)m),其中r为所采取的基数,而m为堆数,在某些时候,基数排序法的效率高于其它的稳定性排序法。 快速排序 快速排序由C. A. R. Hoare在1962年提出。它的基本思想是
Choice ranking method
- 三种选择排序法,每一趟在n-i+1(i=1,2,…n-1)个记录中选取关键字最小的记录作为有序序列中第i个记录(Three alternative sorting methods, each in n-i+1 (i=1, 2),... (n-1) the minimum record of the keyword selected in the record is used as the I record in the ordered sequence)
VB
- 随机选择0-9中的六个数进行排序,可运用于其他数字的排序(Randomly select six numbers in 0-9 to sort)
数字排序
- 对10个数进行排序?1.程序分析:可以利用选择法,即从后9个比较过程中,选择一个最小的与第一个元素交换,??????? 下次类推,即用第二个元素与后8个进行比较,并进行交换。?(The number 10 ranking 1. program analysis: can use the selection method, from 9 months after the comparison process, select a minimum exchange with the first