搜索资源列表
random
- 随机算法,包括随机化快速排序,随机化取样,素数测试等-Randomized algorithms, including randomized quick sort, randomized sampling, testing prime test
qsort_main.m
- 快速排序(QuickSort)是一种有效的排序算法。虽然算法在最坏的情况下运行时间为O(n^2),但由于平均运行时间为O(nlogn),并且在内存使用、程序实现复杂性上表现优秀,尤其是对快速排序算法进行随机化的可能,使得快速排序在一般情况下是最实用的排序方法之一。 快速排序被认为是当前最优秀的内部排序方法。-Quick Sort (QuickSort) is an efficient sorting algorithm. Although the algorithm runs in the
listsort.tar
- 常见的排序算法大致分为四类: 1.插入排序:插入排序(insert.c)、shell排序(shellsort.c) 2.选择排序:选择排序(selectsort.c)、堆排序(heapsort.c) 3.交换排序:冒泡排序(bubblesort.c)、快速排序(quicksort.c) 4.归并排序(mgergesort.c)-Common sorting algorithm is broadly divided into four categories: 1 Insert
CPP_STL
- 数据结果实验 内涵实验报告 源代码 直接插入排序 希尔排序 起泡排序 快速排序 简单选择排序 -The experimental results reported experimental data connotation source code directly into sorting Hill sort bubble sort quick sort simple selection sort
kuaisufeidigui
- 快速排序的非递归算法vc编程练习,学生作业-Quick Sort Algorithm vc non- recursive programming exercises, the students work
SORTmodel
- 常用内部排序算法:直接插入排序,希尔派序,冒泡排序,快速排序,简单选择排序,堆排序. 对每种排序方法,记录其数据比较次数和数据移动次数。要求待排序数据不少于100,数据分布在一个较大的范围内,若1000。-Common internal sorting algorithms: direct insertion sort, Hill sent order, bubble sort, quick sort, simple selection sort, heap sort order for e
Java-Sorting-summary
- * 排序算法的分类如下: * 1. 插入排序(直接插入排序、折半插入排序、希尔排序) * 2. 交换排序(冒泡泡排序、快速排序); * 3. 选择排序(直接选择排序、堆排序); * 4. 归并排序; * 5. 基数排序。-* sort algorithm is as follows: * 1 insertion sort (direct insertion sort, binary insertion sort, Hill sort)
quick_sort
- 快速排序 c语言源码-Quick Sort
Quick_Sort5
- 提供快速排序的一种版本,可以较好的改变快速排序的时间性能。-Provides a quick sort version, you can better sort of time changing fast performance.
program
- 汉诺塔c++代码,快速排序c++代码,直接复制可用。-Hanoi c++ code, quick sort c++ code copied directly available.
quicksort
- C语言快速排序法,简洁高效,已经编译运行通过,且正确!-quick sort
a-variety-of-sorting-algorithms
- 实现了各种排序算法,折半插入排序,直接插入排序,起泡排序,快速排序,堆排序,基数排序,以及各种算法运行时间的比较。-The program achieves a variety of sorting algorithms,include binary insertion sort, direct insertion sort, bubble sort, quick sort, heap sort, radix sort, and running time of the algorithm com
CPP-Code
- 几种C++的经典算法。归并排序,快速排序,最小生成树,图的遍历等等。-Several C++ classical algorithm. Merge sort, quick sort, minimum spanning tree, graph traversal, and so on.
QuickSort
- 快速排序(Quicksort)是对冒泡排序的一种改进。由C. A. R. Hoare在1962年提出。它的基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。-Quick Sort
QuickSort
- 在VS 2008中,用C语言写的快速排序算法。不用多余的数组,直接对原数组进行排序。在递归调用中,对于【数组组就是数组首地址】的理解会更加通透。-In VS 2008, using C language to write quick sort algorithm. No extra array directly to the original array to be sorted. In the recursive call, the group is the first address of
3_S_hw_sort
- 用txt文件输入输出字符串,实现三种排序方式,双向冒泡,快速排序,选择排序-Txt file input output string to achieve three sorting methods, bidirectional bubble, quick sort, selection sort
sortingAlgorithms
- Several sorting algorithms - bubble sort - insertion sort - selection sort - merge sort - quick sort - merging two sorted list
randomizedSelect
- 线性时间选择算法,用到了随机快速排序算法中的随机划分算法。求一个数组中第k小的元素。-Linear time selection algorithm used in the random random quick sort algorithm partitioning algorithm. Find an array of small first k elements.
internal-sorting
- (1) 对常用的内部排序算法进行比较:直接插入排序、简单选择排序、冒泡排序、快速排序、希尔排序。 (2) 利用随机函数产生N(如30000)个随机整数,作为输入数据作比较;比较的指标为关键字参加的比较次数和关键字的移动次数(关键字交换计为3次移动)。 (3) 对结果作出简要分析。-(1) internal sorting algorithm commonly used to compare: direct insertion sort, simple selection sort
PAIXU
- 来自教程里的一种快速排序的C语言实现源代码,可以运行-C language tutorial from a quick sort of source code, you can run