搜索资源列表
HeapSort
- 改进的基于c++的堆积排序算法。排序算法大体可分为两种: 一种是比较排序,时间复杂度O(nlogn) ~ O(n^2),主要有:冒泡排序,选择排序,插入排序,归并排序,堆排序,快速排序等。 另一种是非比较排序,时间复杂度可以达到O(n),主要有:计数排序,基数排序,桶排序等。(Improved stacking algorithm based on C ++. There are two kinds of sorting algorithms: one is sorting, t
InsertSort1
- 改进的基于c++的插入排序算法。排序算法大体可分为两种: 一种是比较排序,时间复杂度O(nlogn) ~ O(n^2),主要有:冒泡排序,选择排序,插入排序,归并排序,堆排序,快速排序等。 另一种是非比较排序,时间复杂度可以达到O(n),主要有:计数排序,基数排序,桶排序等。(Improved C ++ Based Insertion Sorting Algorithm. There are two kinds of sorting algorithms: one is sort
MergeSort
- 改进的基于c++的归并排序算法。排序算法大体可分为两种: 一种是比较排序,时间复杂度O(nlogn) ~ O(n^2),主要有:冒泡排序,选择排序,插入排序,归并排序,堆排序,快速排序等。 另一种是非比较排序,时间复杂度可以达到O(n),主要有:计数排序,基数排序,桶排序等。(Improved c ++ based merge sort algorithm. There are two kinds of sorting algorithms: one is sorting, th
Shell
- 希尔排序的java实现,包含一个main函数。(shell paixu,include a main function.)
C常用算法程序集(第二版)
- 针对工程中常用的行之有效的算法而编写,其主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。(The effective algorithm commonly used in engineering and preparation, the main contents include polynomia
0142333
- 这是C语言中的难点的一些算法,其中包括用C实现的班级成绩管理,用C实现的排序算法等()
sort
- 提出了若干种利用C语言来实现的排序算法,可酌情应用于实际工程。(C language implementation of several sort algorithms)
编程练习题
- 排序算法练习题,计算机考试练习题,C语言练习题(Sorting Algorithm Exercises, Computer Exercises, C Language Exercises)
unheue
- 堆排序算法,the heap sort algorithm()
C语言冒泡排序法
- 冒泡排序(Bubble Sort),是一种计算机科学领域的较简单的排序算法。 它重复地走访过要排序的数列,一次比较两个元素,如果他们的顺序错误就把他们交换过来。走访数列的工作是重复地进行直到没有再需要交换,也就是说该数列已经排序完成。(Bubble sorting is a simpler sorting algorithm in the field of computer science. It repeats the sequence of the sequence, and compa
02二叉排序树_BinarySortTree
- 二叉排列树的查找算法,《大话数据结构》里面的。(Lookup algorithm, balance two forked tree, big talk data structure inside.)
sort1
- 这是一个排序算法,包括插入排序,递归排序,两种算法的运行时间不同(This is a sorting algorithm, including insertion sort, recursive sorting, and the running time of the two algorithms is different.)
gsbn69
- 排序算法可能用到的基本单元——SortItem对象()
3
- 根据题目可分析:假设主管道位于所有管道的东侧(或是西侧),则测得个油井到主管道之间的输油管道总长度为sum1,若主管道的位置位于所有管道纵坐标的中位值,其输油管道总长度为sum2。由此可推算出sum1>=sum2。因此我采用第二个思路,进而将问题转化为求n个数中第k大数是什么的问题。 总的输油管道长度可通过每个输油管道的纵坐标减中位值得到,最后即可解决问题。 根据题目要求,需在线性时间内确定主管道的最优位置。在排序算法中,最优的便是快速排序,而根据题目要求,我们又不需要将所有n
wachine
- Merge, Insertion, Radix, Heap, Bucket, Quick, Counting排序算法()
some sort and selection algorithms
- 三种排序算法和两种查找算法,可直接打开,编译运行。没有错误(some sort and selection algorithms)
算法课设
- 排序算法例程比较 Comparison of scheduling algorithms(Comparison of scheduling algorithms)
%5B啊哈!算法%5D.啊哈磊.扫描版
- 啊哈算法的pdf版,特别形象的算法书籍,其中的快速排序,桶排序简单明了(pdf version of aha algorithm)
数据结构书中代码演示
- 数据结构书中代码完整演示,包括链表,二叉树,图,查找,排序算法等(A complete demonstration of the code in the data structure book, including linked list, binary tree, graph, search, sorting algorithm, etc.)
QKP2
- 使用DE算法求解二次背包问题,采用了动态排序的方法(DE algorithm is used to solve the two knapsack problem. Dynamic sorting method is adopted.)