文件名称:heapsort
介绍说明--下载内容来自于网络,使用问题请自行百度
堆排序(HeapSort)是一树形选择排序。堆排序的特点是:在排序过程中,将R[l..n]看成是一棵完全二叉树的顺序存储结构,利用完全二叉树中双亲结点和孩子结点之间的内在关系(参见二叉树的顺序存储结构),在当前无序区中选择关键字最大(或最小)的记录-Heap Sort (HeapSort) is a tree selection sort. Heap sort is characterized by: the sort process, the R [l.. N] as a complete binary tree structure of the order of storage, using completely binary tree in the parent node and children nodes in the internal relations between relations (see the order of the binary tree memory structure), in the present disordered select keywords maximum (or minimum) record
(系统自动生成,下载前可以参看下载内容)
下载文件列表
heapsort.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.