搜索资源列表
ClassicalDataStructures
- 常用的线性数据结构: 包括线性表、环形列表、队列、双端队列、单链表、双端链表、堆、栈、字符串数组等。非常有用,值得参考。-commonly used linear data structure : Table includes linear and circular table, queue, queue-end, single-linked list, double-linked list, heap, stack, as a string array. Very useful and val
LinkAndLink2
- 这是我刚刚学习C#时候编写的连连看小游戏,现在看来已经有点简单了.它的实现方式是控件数组,也就是声明了一堆Label.现在拿出来供后来者学习-just learning C# 1000 block of Terry Avenue when prepared by the small game, it now appears a bit simple. It is the way to achieve the control array is a heap of Label statement.
heapxu
- 通过堆(heap)排序法对关键字成员为实数的结构体一维数组进行排序计算和数值模拟。-through the reactor (heap) the keyword method of ranking members of the real structure of the one-dimensional array by calculated and Numerical simulation.
dwqdsort111
- 1)实现以下常用的内部排序算法并对它们的时间效率进行比较: 必做(6种):起泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、堆排序; 选做:折半插入、二路归并、基数排序等等; 2)函数首部要求:void XXXXSort(char **list, int len, int n, int *c, int *s) 其中: a) XXXXSort为排序函数名,具体如下: 起泡排序BubbleSort 直接插入排序InsertSort 简单选择排序Sele
Huffman
- 迄今为止见过的最方便的huffman编码,效率很高 一个外国人写的,很具有研究价值 Constructing a Huffman Tree according to the number of times each symbol appears in the data stream: 1) Create an array of N nodes, representing N possible symbols (ranging between 0 and N-1). 2) Set
heap_sort
- 堆积排序(Heapsort)是指利用堆积树(堆)这种资料结构所设计的一种排序算法,可以利用数组的特点快速定位指定索引的元素。-Accumulation sort (Heapsort) is the accumulation of tree (heap) refers to the use of this data structure designed by a sorting algorithm can take advantage of an array of features to quic
sjjg
- 1)实现二路归并排序算法。 2)实现希尔排序算法。 3)实现快速排序算法。 4)实现堆排序算法。 (6)已知长度为n的线性表A采用顺序存储结构,该算法删除线性表中所有值为item的数据元素。删除后的数组元素与原数组元素不必保持顺序一致。 一个主函数,调试上述算法。-1) Achieving way merge sorting algorithm. 2) Achieving Hill sorting algorithms. 3) The fast sorting algorit
paixu
- 随机产生100个0到999的整数存放于分别用于快速排序和堆排序的2个整型数组和一个用于链式基数排序的静态链表之中。为整数序列的输出定义一个输出函数。依据快速、堆和基数排序三种不同的算法分别编写函数程序。-Randomly generated 100 0-999 integer stored in a separate stack for rapid sequencing and sequencing of two integer array and a base for the chain so
HeapsortCodes
- Heapsort 1.A heap is a binary tree satisfying the followingconditions: -This tree is completely balanced. -If the height of this binary tree is h, then leaves can be at level h or level h-1. -All leaves at level h are as far to the left as po
CircularQueueHeapArray
- circular queue by heap array
StackHeapArray
- stack by heap array
matrix
- multiplication of matrix by heap array
Sort
- 5种不同的排序方法,marge排序,基数排序,交换排序,快速排序,heap排序,另外还包括基数排序字母.测试包括,随机和手动,随机测试的是5种排序的时间,和不同大小的数组,都分别排序两边,一边是排序无顺序的数字,第2边是排序已经有顺序的数字,来测试排序的时间,手动就是自己输入数字来进行排序-5 different ranking methods, marge sort, radix sort, exchange sort, quick sort, heap sort, radix sort th
Heap
- 堆的基本操作,插入删除,把数组变为小根堆,并检查是否为小根堆,用小根堆排序的方法按降序对大小为n的数组进行排序。-The basic operation of the heap, insert delete the array into a heap of small roots, and check the heap for small roots, roots with a small heap sort in descending order by means of an array of
Heap-sort
- 堆积排序(Heapsort)是指利用堆积树(堆)这种资料结构所设计的一种排序算法,可以利用数组的特点快速定位指定索引的元素。 -Heap sort (Heapsort) is the use of stacked tree (heap) data structure designed such a sorting algorithm can take advantage of the characteristics of the array elements quickly locate t
Archive
- A simple priority queue, array priority queue, and a binary heap. Used for implementation with databases written in java.
Heap
- 这个代码包含了简单的堆操作,包括堆的保持,键堆,以及利用堆这个数据结构排序, IDE为苹果的Xcode-this code show the heap related operation, include keeping a heap, building a heap, using heap to sort an array. The IDE is Xcode on Apple Mac
Heap-Sort-Algorithm-Pseudo-Code
- The heapsort algorithm can be divided into two parts. In the first step, a heap is built out of the data. In the second step, a sorted array is created by repeatedly removing the largest element from the heap, and inserting it into the arra
implementation-for-the-Heap-Trees
- It s required to design an Abstract Data Type (ADT) Java implementation for the Heap Trees data structure that includes the following operations: 1. Constructor and display operations 2. Creating a Heap Tree a given array 3. Adding an elemen
heap.cpp
- 这里需要做一个假设:对于数组中下标为i的节点其左子树和右子树都是保持最大堆性质的堆。在假设成立的前提上,经过这一个维护函数维护过的堆才能够保证是一个最大堆。(There is a hypothesis that the left subtree and the right subtree of the node with the subscr ipt of I in the array are the heaps that maintain the maximum heap properties