搜索资源列表
bucketSort
- (吊桶排序法)吊桶排序法源于一维正整数数组的排序问题,它使用了一个行从下标从0-9,列下标从0-n-1(n是一维数组中的元素数目)的二维整数数组,二维数组的每一行叫做一个吊桶(bucket)。-(Bucket sorting method) bucket sort method from the one-dimensional array of positive integer scheduling problem, it uses a line from the subscr ipt from
Cchengxu
- 这个程序包包括了C语言中的一些常见的程序,如阶乘,读取二进制文件,递归,二维数组平均值排序等几十个程序。有了这些程序,会更好的进行科学计算-This package includes the C language of some common procedures, such as factorial, read binary files, recursion, sorting, such as the average of two-dimensional array of dozens of
sort
- 设计一个Visual C++程序实现几种排序方法,要求输入一组数组之后,可以算出其几种排序的结果,即,依次为:直接插入排序,希尔排序,冒泡排序,快速排序,简单选择排序,堆排序,归并排序。 -To design a Visual C++ procedures for implementation of several sorting methods, for the importation of a group of the array, you can calculate the n
sort
- 本程序依次生成10个随即数组,然后分别用归并排序和快速排序 进行排序,统计两种排序所用时间,在屏幕上打印出来。-This procedure in turn generates an array of 10 immediately, and then were used to sort and quick sort merge sort, statistics used in two kinds of sorting time on the screen print.
sortting
- 本代码实现了简单的数组排序功能,可以将杂乱无序的数组按照元素大小进行排列,适合初学者借鉴。-This code implements a simple array sorting functions, can be messy and disorderly array arranged in accordance with elements of size, suitable for beginners learn.
Cpp1
- 利用排序算法求数组中的主函数及判断有没主函数。-Sorting algorithm in order to use the array to determine the main function and there is no main function.
3
- 1、一维数组; 2、一维数组排序,反转一维数组-1, one-dimensional array 2, one-dimensional array sorting, reverse one-dimensional array
Quicksort
- 快速排序算法基本思想 通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。一般设置数组的第一个数为需要比较的值,把整个数组分为小于和大于该数的两部分。 我自己在写这个算法的时候,卡住了好几回,总是边界值出现问题。下面的这个实现加入了注释,希望对你能够有所帮助。-Basic idea of quick sort algorithm
sort
- 简单的c++排序算法一:高级排序算法它的工作看起来仍然象一个二叉树。首先我们选择一个中间值middle程序中我们使用数组中间值,然后把比它小的放在左边,大的放在右边(具体的实现是从两边找,找到一对后交换)。然后对两边分别使用这个过程(最容易的方法——递归)。-Simple c++ sorting algorithm: Advanced sorting algorithm it still looks like a binary tree. First, we chose an intermedi
chenxu
- 2是设计如下图所示的数组排序程序。3是设计如下图所示的产品数据维护程序-2 array sorting program design as shown below. 3 is designed as shown in the product data maintenance procedures
code01_arithmetic_wzk
- 1、matlab有些慢,所以用C写了个快速排序算法 2、写了个求特征值的函数Sover(),main()函数中用一个五阶数组进行了测试。-1.Matlab shows a little slow, so write a quick sorting algorithm using C 2.Write a function Sover to get eigenvalue , and there is a five order array in the main function to
array-sort
- 用java语言编写的数组排序算法,有多种实现方法-Using java language array sorting algorithms, there are several ways to achieve
Bubble-algorithm
- 易语言的一个数组排序算法《冒泡算法》可以快速的完成数组排序-An array of easy language sorting algorithms " Bubble algorithm" can quickly complete array sorting
Bubble-sorting
- 基于VC6.0编写的冒泡法排序源程序,用到了数组-Based on VC6.0 prepared bubble sort method source code, used an array
Foaming-method-of-sorting
- 基于VC6.0编写的起泡法排序源程序,应用到了数组-VC6.0 prepared by foaming method based sorting source is applied to the array
Sorting
- Sorting Array elements
array_multisort()
- 一种使用PHP内置方法array_multisort()巧妙实现多维数组排序的方法-A method of using PHP s built-in method array_multisort () to realize multidimensional array sorting
Sorting-by-selection-method
- 选择法排序 在本实例中,声明了一个整型数组和两个整型变量,其中整型数组用于存储用户输入的数字,而 整型变量用于存储数值最小的数组元素的数值和该元素的位置,然后通过双层循环进行选择法排序, 最后将排序好的数组进行输出。-Sorting by selection method In this example, an integer array and two integer variables are declared, in which an integer array is us
易语言文本数组排序集成源码
- 易语言文本数组排序集成源码..................(Easy language text array sorting integrated source.......................)
新建 WinRAR 压缩文件
- 该程序是分别使用快速排序、插入排序、选择排序、冒泡排序、堆排序、归并排序、基数排序制作的,可以选择其一实现数组排序,通过主函数调用实现七种算法的演示。当输入一个数组的元素个数和数组元素之后可以选择七种排序方法之一进行排序并按从小到大的顺序输出。(The program is using fast sorting, insert sort, select sort, bubble sort, heap sort, merge sort, radix sort production, you can
