搜索资源列表
数组排序算法改进版
- 这个程序的头文件中包含四种排序方法:泡沫排序法(bubble),插入排序法(insertion),快速排序法(quick)和选择排序法(selection)。头文件中还使用了模板技术,以便可以同时实现几种类型的排序算法。 dinimicky_hu对原程序做了修改和优化,使用了函数指针数组,并修改了一个BUG-The head file of this programme includes 4 methods of sorting : Bublle sorting,insertion sortin
完全实现快速排序算法
- 完全实现快速排序又称分区交换排序法 在待排序文件中任取一个元素(例如第一个元素),以该元素为标准,将所有元素分为二部分:所有小于该元素的集合,所有大于等于该元素的集合。 将该元素放在二部分中间 利用递归原理,分别对每部分进行排序-Fast sort algrithms
常见排序算法实现
- 常见的排序算法,如插入排序,快速排序-common algorithm, such as the insertion sort, rapid sequencing etc.
演示快速排序算法
- 演示快速排序算法-demonstration Quick Sort Algorithm
快速排序、插入排序和选择排序
- 数据结构的快速排序、插入排序和选择排序程序设计算法实现的源代码,请大家多多指教。-rapid data structure, in order of ranking and selection inserted Sorting Algorithm design of the source code, please exhibitions.
快速排序c算法
- 快速排序c算法
排序算法效率比较
- 分别实现选择排序,插入排序,归并排序,快速排序,分析他们的时间复杂度,并用程序统计他们实际运行的时间(随机产生20000个数),有简单界面。
SortComparor
- 比较插入、归并、快速、基数四种排序算法的性能-Comparison of insertion, merge, fast, and base the performance of four sorting algorithms
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
sort
- 排序算法,包括了直接插入排序,冒泡排序,快速排序-Sorting algorithm, including a direct insertion sort, bubble sort, quick sort, etc.
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-structure, first of all, quick sort a
abcd
- 快速排序与交换排序算法比较 在Visual C++中建立一个单文档Windows应用程序,并实现下述功能: 运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。 分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。 使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行算法耗时比较。 分析两种不同算法,有针对性地设计与调整测
QuickSort
- 快速排序算法,实现了快速排序,与归并排序算法进行对比(Quick Sort algorithm)
Quickp
- LINUX系统下的快速排序算法的MPI实现(MPI implementation of fast sorting algorithm)
快速排序
- 快速排序,主要是代码实现,这是我上算法课的时候自己编写的,有些缺陷请原谅(quicksort,this is a easy test.i ues it to sort a easy array.)
内排序算法
- 常见6种内排序算法,冒泡排序,直接插入排序,直接选择排序,快速排序,希尔排序,堆排序(Common 6 internal sorting algorithms, bubble sort, direct insertion sort, direct selection sort, quick sort, Hill sort, heap sort)
部分排序算法(C语言版)
- 部分常用排序算法的代码实现 如冒泡排序,快速排序等(Code implementation of some commonly used sorting algorithms)
内部排序比较
- 比较几种内部排序算法的效率,排序算法有插入排序、希尔排序、冒泡排序、快速排序、选择排序。(Comparing the efficiency of several internal sorting algorithms, the efficiency of several internal sorting algorithms is compared. The sorting algorithms include the insertion sort, the Hill sort, the bub
SimpleTestPaiXu
- 快速排序算法,选取一个中间值,小于中间值放左边,大于中间值的放右边(quick_sort:Select an intermediate value, less than the middle value to the left, greater than the median value to the right)