搜索资源列表
ddd
- 快速排序算法 真的很快-quicksort algorithm really soon
常见排序算法实现
- 常见的排序算法,如插入排序,快速排序-common algorithm, such as the insertion sort, rapid sequencing etc.
各种排序比较
- 分别实现直接插入排序、冒泡排序、简单选择排序、希尔排序、快速排序、堆排序,并随机生成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 comp
排序程序
- 利用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 ra
内部排序的主要算法及相关可实现程序
- 内部排序的所有算法,而且有相关可执行例子,包括插入排序,选择排序,希尔排序,快速排序,堆排序,归并排序等,很全,很孀。-sequencing of all internal algorithm, but is related to the executable examples, including insertion sort, select, in order of ranking Hill, the quick sort, hea
QUICK SORT
- 使用VC编写的快速排序算法,运行后输入你希望产生的次数,会随机产生数值,并完成排序,是一个教好理解快速排序算法的程序。-prepared by the use of VC quicksort algorithm, running after you input the desired number of randomly generated digits and completed sequencing, is a good under
归并分类与快速分类平均时间之比较的源代码
- 在对本程序的快速排序和归并排序这两种算法的正确与否进行验证时,用手动输入的数据,本程序基本上完成了对输入数据进行的快速排序和归并排序!-in the process of the rapid sequencing and merging the two sorting algorithms are correct for the test, with the manual input of data, the procedure is
20050305182157_quicksort
- 快速排序算法。生成10个随机数,显示在编辑框中,调用快速排序函数,对前10 个编辑框中的数字进行排序。-quicksort algorithm. Generate 10 random numbers show that, in the edit box, called Quick Sort function, right before the 10 box editing the figures for the ranking.
FormArray
- 快速排序和随机快速排序的比较,快速排序在比较顺序的情况下速度很慢,所以采用随机快速排序算法-rapid sequencing and the rapid sequencing of random comparison, the relatively rapid sequencing of the sequence of very slow, So random Quick Sort Algorithm
neipaixu
- [问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有
paixu
- 输入一组关键字序列分别实现下列排序: (1)实现简单选择排序、直接插入排序和冒泡排序。 (2)实现希尔排序算法。 (3)实现快速排序算法。 (4)实现堆排序算法。 (5)实现折半插入排序。 (6)在主函数中设计一个简单的菜单,分别测试上述算法。 (7)综合训练:采用几组不同数据测试各个排序算法的性能(比较次数和移动次数) -Enter a list of keywords to sort s
qSort
- 快速排序算法是基于分治策略的另一个排序算法。其基本思想是,对于输入的字数组a[p:r],按以下3个步骤进行排序: (1)分解:以a[p]为基准元素将a[p:r]划分成3段a[p:q-1],a[q]和a[q+1:r],使得a[p:q-1]中任何元素小于等于a[q],a[q+1:r],中的任何元素大于等于a[q]。下标q在划分过程中确定 (2)递归求解:通过递归调用快速排序算法,分别对a[p:q-1]和a[q+1:r]进行排序
MergeSort
- 快速排序算法,二分排序算法的完全实现 时间复杂度只有log(N) -Quick sort algorithm, the second sub-sorting algorithm time complexity fully realized only log (N)
quickSort
- 快速排序算法的C语言实现,快速排序是经典的排序算法。-Quick Sort Algorithm C language, is the classic quicksort sorting algorithm.
sorting
- 快速排序算法,融合了选择排序和堆排序算法,使时间复杂度降为nlogn-Quick sort algorithm, the convergence of choices to sort and heap sort algorithm, so the time complexity is reduced nlogn
quick_sort
- 本程序是快速排序算法,能快速的排序,-quick sort program
qsort
- 快速排序算法的深入对比分析与改进,难得的好文-Quick Sort Algorithm in-depth comparative analysis and improvement, a rare good text
KITBAG
- 背包问题是用贪心算法得到最优解得一个典型问题。背包问题具有最优子结构性质首先通过快速排序算法对物品按照单价从大到小排序,然后进行贪心选择。-Knapsack problem is a greedy algorithm with the optimal solution may be a typical problem. Knapsack problem with the nature of the optimal sub-structu
abcd
- 快速排序与交换排序算法比较 在Visual C++中建立一个单文档Windows应用程序,并实现下述功能: 运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。 分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。 使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行
QuickSort
- 快速排序算法,实现了快速排序,与归并排序算法进行对比(Quick Sort algorithm)