CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 数值算法/人工智能 数据结构常用算法 搜索资源 - heap array

搜索资源列表

  1. heap_sort

    0下载:
  2. 堆积排序(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
  3. 所属分类:Data structs

    • 发布日期:2017-04-01
    • 文件大小:20.46kb
    • 提供者:neo
  1. sjjg

    0下载:
  2. 1)实现二路归并排序算法。 2)实现希尔排序算法。 3)实现快速排序算法。 4)实现堆排序算法。 (6)已知长度为n的线性表A采用顺序存储结构,该算法删除线性表中所有值为item的数据元素。删除后的数组元素与原数组元素不必保持顺序一致。 一个主函数,调试上述算法。-1) Achieving way merge sorting algorithm. 2) Achieving Hill sorting algorithms. 3) The fast sorting algorit
  3. 所属分类:Data structs

    • 发布日期:2017-04-01
    • 文件大小:575.29kb
    • 提供者:demoncat
  1. TsinghuaCdatastructures

    0下载:
  2. 清华+殷人昆C++数据结构 幻灯片教学课件 通过本课程的学习,应达到知识和技能两方面的目标: 1、知识方面:从数据结构的类定义和对象的使用,以及存储表示和操作的实现两个层次,系统地学习和掌握常用的基本数据结构(包括数组、顺序表、多项式、字符串、链表、栈与队列、优先级队列、广义表、树与森林、二叉树、堆、集合、图、搜索结构、索引结构、散列结构等)及其不同的实现,了解并掌握分析、比较和选择不同数据结构、不同存储结构、不同算法的原则和方法,为后续课程的学习打好基础。 -Tsinghua Q
  3. 所属分类:Data structs

    • 发布日期:2017-05-09
    • 文件大小:1.75mb
    • 提供者:ciweijsf
  1. cynjj

    0下载:
  2. 给定如下元素的数组,根据最大堆的结构,说明对这些数组按递增顺序进行堆排序的步骤,并确定它们所执行的元素比较次数。-Given the following array of elements, based on the maximum heap structure indicates that these arrays are sorted in ascending order of the steps heap sort and identify the elements of the impl
  3. 所属分类:Data structs

    • 发布日期:2017-04-08
    • 文件大小:535byte
    • 提供者:cheya
  1. CircularQueueHeapArray

    0下载:
  2. circular queue by heap array
  3. 所属分类:Data structs

    • 发布日期:2017-04-10
    • 文件大小:1.37kb
    • 提供者:kellyjo
  1. StackHeapArray

    0下载:
  2. stack by heap array
  3. 所属分类:Data structs

    • 发布日期:2017-04-11
    • 文件大小:1.26kb
    • 提供者:kellyjo
  1. 4

    0下载:
  2. 使用简单数组实现下面各种排序算法,并进行比较。 排序算法: 1、插入排序 2、希尔排序 3、冒泡排序 4、快速排序 5、简单选择排序 6、堆排序(选作) 7、归并排序(选作) 8、基数排序(选作) -Using a simple array to achieve the following variety of sorting algorithms and compare them. Sorting algorithm: a, 2 insert
  3. 所属分类:Data structs

    • 发布日期:2017-05-01
    • 文件大小:1000.2kb
    • 提供者:殷琪
  1. 3230

    0下载:
  2. 带堆优化的贪心,从题意中我们可以得到的最暴力解法就是,每天都搜索整个数组,找出符合条件的题目并且它的经验是最大的,这样找M天就好了。接下来就是如何优化,在每次找的时候我们只要找经验最大的,因为可以用大顶堆组织可以做的题目,每次升级之后加入新的可以做的题目就OK了。-Optimized with a greedy heap, from the meaning of the questions, we can get the most violent solution is that every d
  3. 所属分类:Data structs

    • 发布日期:2017-04-10
    • 文件大小:808byte
    • 提供者:ufo
  1. 9PriorityQueue

    0下载:
  2. 数据结构:优先队列(最大堆、最大左高树)最大左高树的初始化使用了数组描述的队列-Data structure: priority queue (maximum heap, the largest left-high tree) to initialize the greatest left-high tree using the array described in the queue
  3. 所属分类:Data structs

    • 发布日期:2017-04-13
    • 文件大小:2.78kb
    • 提供者:Robin.Wang
  1. u4

    0下载:
  2. u4.cpp 最小堆的创建 插入 删除 排序 + siftdown + siftup 预置数组大小为15 -u4.cpp the creation of the smallest heap insertion deletion sorting+ siftdown+ siftup preset array of size 15
  3. 所属分类:Data structs

    • 发布日期:2017-03-28
    • 文件大小:879byte
    • 提供者:robey
  1. shiyanliu

    0下载:
  2. 假设有一个数据类型为整型的一维数组A,A 中的数据元素呈无序状态,编写一个采用堆排序法将A中的数据元素按由小到大进行排序的程序。-Suppose a data type for the integer one-dimensional array A, A in the data element was disorder, to write a heap sort method used in the data elements A sort of process by small to larg
  3. 所属分类:Data structs

    • 发布日期:2017-04-04
    • 文件大小:547byte
    • 提供者:陆斌
  1. two_dimension_array

    0下载:
  2. 摘 要 : 在堆中模拟生成二维数组-a simulator that generates 2-dimension-array in heap space, using operator new/delete.
  3. 所属分类:Data structs

    • 发布日期:2017-04-08
    • 文件大小:614byte
    • 提供者:ocree
  1. sort

    0下载:
  2. 使用简单数组实现各种排序算法,并进行比较。 排序算法: 1、插入排序 2、希尔排序 3、冒泡排序 4、快速排序 5、简单选择排序 6、堆排序 7、归并排序 -Using a simple array to achieve a variety of sorting algorithms, and compared.Sorting algorithm:1, insertion sort2, Hill sort3, bubble sort4, Quick Sort5
  3. 所属分类:Data structs

    • 发布日期:2017-03-26
    • 文件大小:611.49kb
    • 提供者:tryqtyl
  1. sort

    0下载:
  2. 使用简单数组实现下面各种排序算法,并进行比较。 排序算法: 1、插入排序 2、希尔排序 3、冒泡排序 4、快速排序 5、简单选择排序 6、堆排序(选作) 7、归并排序(选作) 8、基数排序(选作) 9、其他 -Using a simple array to achieve the following various sorting algorithms, and compared. Sorting algorithm: 1, 2, inse
  3. 所属分类:Data structs

    • 发布日期:2017-03-29
    • 文件大小:935.24kb
    • 提供者:莫凡
  1. 2(2)

    0下载:
  2. 最小生成树之Prim算法 Prim算法用于求无向图的最小生成树 设图G =(V,E),其生成树的顶点集合为U。 ①、把v0放入U。 ②、在所有u∈U,v∈V-U的边(u,v)∈E中找一条最小权值的边,加入生成树。 ③、把②找到的边的v加入U集合。如果U集合已有n个元素,则结束,否则继续执行②。 其算法的时间复杂度为O(n^2) Prim算法实现: (1)集合:设置一个数组set(i=0,1,..,n-1),初始值为 0,代表对
  3. 所属分类:Data structs

    • 发布日期:2017-04-11
    • 文件大小:875byte
    • 提供者:杨博文
  1. suanfa

    1下载:
  2. 数据结构基本算法演示程序实现: 1、实现KMP模式匹配算法、哈夫曼编码算法、由遍历序列恢复二叉树、Prim算法、Kruskal算法、Floyd算法、Dijkstra算法、拓扑排序、关键路径算法、二叉排序树生成算法(含平衡化)、哈希表生成及哈希查找算法、希尔排序、快速排序、堆排序、归并排序、基数排序。(四则表达式计算、矩阵运算、有向图的强连通分量求解) 2、算法中的链表结构和数组结构的基本操作要求单独函数实现(同组内算法要求共享使用)。 要求数据结构基本算法演示程序具有菜单选择,算法要
  3. 所属分类:Data structs

    • 发布日期:2017-04-03
    • 文件大小:20.37kb
    • 提供者:dark
  1. exam4

    0下载:
  2. 源程序给出了插入排序、选择排序、希尔排序、堆排序、冒泡、双向冒泡、快速排序、归并排序、递归的归并排序、基数排序等多种排序算法,其中有17处需要填空。 1) 完成17处填空; 2) 调整输出方式:去掉多余的空行,保留中间结果以便确认排序方法是否正确; 确认程序能正确运行之后,去掉(或注解)输出中间结果的语句,直接输出排序前、后的数组内容。 -Source gives the insertion sort, selection sort, Hill sort, heap sort,
  3. 所属分类:Data structs

    • 发布日期:2017-03-29
    • 文件大小:143.56kb
    • 提供者:tamakiramimy
  1. Heap

    0下载:
  2. 堆的基本操作,插入删除,把数组变为小根堆,并检查是否为小根堆,用小根堆排序的方法按降序对大小为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
  3. 所属分类:Data structs

    • 发布日期:2017-04-08
    • 文件大小:1.48kb
    • 提供者:依枫
  1. Heap-sort

    0下载:
  2. 堆积排序(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
  3. 所属分类:Data structs

    • 发布日期:2017-03-27
    • 文件大小:780byte
    • 提供者:mfeng
  1. implementation-for-the-Heap-Trees

    0下载:
  2. 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
  3. 所属分类:Data structs

    • 发布日期:2017-04-02
    • 文件大小:7.59kb
    • 提供者:tamer
« 12 »
搜珍网 www.dssz.com