搜索资源列表
heapsort
- 《算法导论》第三版中堆排序伪码的C语言实现-"Introduction to Algorithms" third edition heap sort pseudo-code in C language
CSorts
- C语言实现的简单的排序,冒泡,快排,堆排,归并-C language implementation of a simple sort, bubble, fast scheduling, heap row, merge
HeapSortDemo
- 经典的排序方法,堆排序实现方法,采用VC写了个小例子,供大家参考-The classical methods of realization method of sort, heap sort, using VC to write a small example, for your reference
1231
- 数据结构14种排序算法源代码,shell ,harker,基数排序,堆排序。-Data Structures 14 kinds of sorting algorithm source code, shell, harker, radix sort, heap sort.
stone_game_dp
- 现有4堆石子,两个人轮流取石子,他们有n种可能的取法,取法表示从第1堆取A1个石子,从第2堆中取B1个,第3堆取C1个,第4堆取D1个.如果取的时候某一堆的石子数比所要取的石子数要少,则这种取法是不可行的.取到最后没有可行取法的人就算输了. 现给出4堆石子的石子数目以及n种取法,请问如果两个人都采用最优取法,先取的人是赢还是输.-Four existing heap of stones, two people take turns stones, they have emulated n
sorting-algorithms
- C++编写的各种排序算法。包括插入排序、堆排序、归并排序、基数排序、冒泡排序、希尔排序、选择排序、直插排序。-C++ written various sorting algorithms. Including insertion sort, heap sort, merge sort, radix sort, bubble sort, shell sort, selection sort, in-line sort.
minimumheap
- 创建一个一定范围内的最小堆,可以进行堆排序、插入、删除、添加的操作。-Create a minimum heap within a certain range, you can heap sort, insert, delete, add operation.
HeapCharBufferTest
- Heap Char Buffer Test Source Code for Andriod.
sort
- 算法与数据结构中的排序算法(直接插入,折半插入,表插入,冒泡,快速,简单选择,堆,归并,基排序)。-Algorithms and Data Structures in sorting algorithms (direct insertion, binary insertion, insert tables, bubble, quick, simple choice, heap, merge, group sorting).
HeapSort
- 数据结构,堆排序 。根据给定的一组整数,用堆排序法对其排序并输出结果。 -Data structures, heap sort. According to a given set of integers, using heap sort method to sort and output the results.
Binary_Tree
- 二叉树是每个节点最多有两个子树的有序树。通常子树被称作“左子树”(left subtree)和“右子树”(right subtree)。二叉树常被用于实现二叉查找树和二叉堆。值得注意的是,二叉树不是树的特殊情形。在图论中,二叉树是一个连通的无环图,并且每一个顶点的度不大于3。-Each node in a binary tree is an ordered tree up to two sub-tree. Usually sub-tree is called " left sub-tre
heapSort.cpp.tar
- 这是一个堆排序的算法源程序,算法被单独写成一个函数,希望对大家有用-This is a heap sort algorithm source code, algorithms are written as a separate function, we hope to be useful
Project-Diva-3
- 实现并比较快速排序, 选择排序, 冒泡排序, 插入排序, 归并排序, 堆排序等排序算法-Realization and compare quick sort, selection sort, bubble sort, insertion sort, merge sort, heap sort, such as sorting algorithm
ReadOnlyHeapByteBuffer
- Read Only Heap Byte Buffer extends Heap Byte Buffer Source Code for Andriod.
abc
- 投掷六个骰子能投掷出多少种排列组合呢? 如1 2 3 4 5 6 和 6 5 4 3 2 1是同一种组合。 问题可以转化为:n个相同小球放入r个相异盒子中,允许空盒。 即求解不定方程 x1+x2+x3+ ... + xr = n 的非负整数解(x1, x2, x3, ..., xr),0<= Xi <= n 令yi=xi+1,转化为 y1+y2+..+yr = n+r 此时 1<= yi <=n+1 相当于 n+r 个小球分成 r 堆,有多少种分法的问
heapsort
- 利用堆实现k路排序 代码完整 调试成功 c代码实现 对于学习堆排序的 很有帮助-Road use heap sort code integrity achieve k c code debugging success HEAPSORT helpful for learning
tree
- 天津大学树,二叉树,堆的复习资料。适合初学者使用。比较倾向acm-Tianjin University of trees, tree, heap review the information. Suitable for beginners to use. Compare tendency acm
sort-Algorithm-in-c
- c语言实现的经典排序算法,譬如冒泡、快速排序、简单选择、堆排序、直接插入、希尔排序、归并排序,基数排序等,都能运行-The classic sort algorithm C language, such as bubble, quick sort, heap sort, simple selection, direct insertion, Hill sort, merge sort, radix sort, can run
BuildHouse
- 居于android1.6开发的一款小的android游戏,堆房子。实现了房子的堆砌过程。-Living android1.6 development of a small android game, heap house. Process to achieve a pile house.
ShellInsert
- 这个程序里面包括有希尔排序,快速排序,堆排序,归并排序。-This program which includes Hill sort, quick sort, heap sort, merge sort.