文件名称:Heapsort
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2015-12-08
- 文件大小:
- 3.81mb
- 下载次数:
- 0次
- 提 供 者:
- 闫*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
堆排序是指利用堆这种数据结构所设计的一种排序算法,它是选择排序的一种。可以利用数组的特点快速定位指定索引的元素。堆分为大根堆和小根堆,是完全二叉树。大根堆的要求是每个节点的值都不大于其父节点的值,即A[PARENT[i]] >= A[i]。在数组的非降序排序中,需要使用的就是大根堆,因为根据大根堆的要求可知,最大的值一定在堆顶。-Heapsort refers to a sorting algorithm data structure designed using the heap, it is a sort of choice. You can use an array of features to quickly locate the specified index element. Heap into large and small root root heap heap is a complete binary tree. Requires large root heap is the value of each node is not greater than the value of the parent node, i.e., A [PARENT [i]] >= A [i]. In an array of non-descending order, we need to use is the large root heap, because according to the requirements of large root heap shows that the maximum value must be in the top of the heap.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Heapsort
........\.vs
........\...\Heapsort
........\...\........\v14
........\...\........\...\.suo
........\Debug
........\.....\Heapsort.exe
........\.....\Heapsort.ilk
........\.....\Heapsort.log
........\.....\Heapsort.obj
........\.....\Heapsort.pdb
........\.....\Heapsort.tlog
........\.....\.............\CL.read.1.tlog
........\.....\.............\CL.write.1.tlog
........\.....\.............\Heapsort.lastbuildstate
........\.....\.............\link.read.1.tlog
........\.....\.............\link.write.1.tlog
........\.....\vc140.idb
........\.....\vc140.pdb
........\Heapsort.cpp
........\Heapsort.sdf
........\Heapsort.sln
........\Heapsort.vcxproj
........\Heapsort.vcxproj.filters