搜索资源列表
suanfa
- 大二的时的一个作业,快速排序,归并排序,选择排序时间和效率的比较-Row of quick sort, merge sort, select the sorting efficiency and time comparison
qsort
- 程序中给出了,qsort的用法,并且注释详细,很容易学习,使用快速排序例程进行排序,参数:1 待排序数组首地址 2 数组中待排序元素数量 3 各元素的占用空间大小 4 指向函数的指针,用于确定排序的顺序。-The size of the space given, qsort usage of the program, and detailed notes, it is easy to learn, quick sort routine to sort parameters: one to be
QuickSort
- 快速排序的实现,自动向数组中递减地加入MAXSIZE个数,然后升序排列-The realization of quick sort, auto-decrement to the array by adding MAXSIZE number, and then in ascending order
quicksort
- 这是一个用C语言编写的快速排序程序,只有一个源文件,原数据也是直接写到数组里的,只是为了测试,可根据自己的需要修改。-This is a quick sort program in C language, and is only one source file, the original data is written directly to the array, just to test, may be modified according to their needs.
quick
- 快速排序(Quicksort)是对冒泡排序的一种改进。由C. A. R. Hoare在1962年提出。它的基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列-Quicksort (Quicksort) is to improve a bubble sort. By CAR Hoare in 1962. The basic idea is
QuickSortTest
- 自己写的一个快速排序的例子,适合初学者参考。另外,并没有加入随机选择的部分,所以还给有兴趣的朋友留下了改进的空间,还等什么?编制你自己的快速排序吧~-A quick sort example to write their own reference for beginners. In addition, and not a member of the randomly selected part of the left room for improvement, so back to the f
DataSort
- 数值排序算法,包括冒泡排序、希尔排序 双向交替扫描法、快速排序等-Numerical sorting algorithm, including bubble sort, shell sort, two-way alternate scanning, quick sort etc.
mysort
- 虽然只有一个文件,但里面包含了较为全面的排序算法,包括:选择排序、插入排序、冒泡排序、堆排序、快速排序、归并排序、基排序、桶排序等,并包含了各个排序算法的对比。采用java的泛型结构实现的,具有很高的学习价值。-Although only one file, which contains a more comprehensive ranking algorithm include: selection sort, insertion sort, bubble sort, heap sort, q
SimSelectSort
- 常见的排序算法,包括简单排序,直接选择排序,插入排序,冒泡排序,希尔排序,快速排序等-Common sorting algorithms, including the simple sort, selection sort, insertion sort, bubble sort, shell sort, quick sort, etc.
ULLab_Sorts
- 用MFC实现的关于内部排序算法的时间比较,包括快速排序序,堆排序,选择排序等五种排序方法,已通过测试。 -Time on internal sorting algorithm is implemented by MFC, including five quick sort order, heap sort, selection sort sorting method has been tested.
experimental-reports
- 算法导论实验报告 各种排序算法的实现 插入排序、冒泡排序、堆排序、快速排序、归并排序、基数排序、计数排序-Introduction to Algorithms, experiment reports a variety of sorting algorithms for insertion sort, bubble sort, heap sort, quick sort, merge sort, radix sort, counting sort
proSort
- c语言快速排序算法简单实现-quick sort
CPJG
- 本程序主要是利用人工智能的方法来实现重排九宫问题,通过构建启发式函数来实现快速排序,比深度优先遍历效果更好-This procedure is the use of artificial intelligence methods to realize the the Jiugong problems rearrangement, by constructing a heuristic function to achieve the quick sort, better than depth-fi
paixu2
- 输入一组数,快速排序,然后查找某个数,利用二分法查找-Enter a number, quick sort, and then find a number, use dichotomy to find
QuickSort
- C++排序算法中,由冒泡排序演化而来的快速排序法与其改进-Quick Sort Bubble Sort evolved its improvement
MYhuffman
- 重写的经典huffman算法,本类融合了快速排序,插入排序,压缩阶段:每个assic从根递归写入一个DWORD中,当写满DWORD的32位的时候,写入一次内存压缩快>然后循环 解压过程:每次读取一个DWORD长度数据再反响循环&过滤该从左还是右子树进行还原当到达叶节点时候,读取对应节点的assic编码 再加压与解压末尾时候会出现不满足4个字节的数据,我把它们简称为补码,用来效验最终文件大小.-Huffman algorithm rewrite the classic blend o
Umpi_quick_sos
- 用并行mpi进行快速排序 用并并行mpi进行快速排序 -Quick sort using parallel mpi parallel mpi quicksort
ordering-systems
- 内排序系统,提供快速排序、冒泡排序、堆排序等常见排序代码。-Within the sorting system, providing quick sort, bubble sort, heap sort common sort code.
paixu
- 各种基本排序的代码和讲解 很详细 包括冒泡排序 快速排序等-Sort code and explained in great detail, including bubble sort quick sort
QuickSort
- 步骤:设有一待排序的序列 1、分别设置low、high指向序列的最左端、最右端;从序列中选一个进行排序(通常选最左端的值low指向的值),存入到tmp; 2、从high端开始,查找比tmp小的,找到后将该值放入到low指向的存储位中;同时将high指向当前查到的值所在的位; 3、从low端开始,查找比tmp大的,找到后将该值放入到high指向的存储为中,同时low指向当前查到的值所在位; 4、若low位小于high位,返回步骤2;否则,将tmp值存入到空出来的low+1指向