首页期刊简介编委会征稿启事出版道德声明审稿流程读者订阅论文查重联系我们English
引用本文
  • 黎佩南.一种快速排序算法的实现及其应用[J].电讯技术,2012,52(2): - .    [点击复制]
  • LI Pei-nan.Realization and Application of a Quick Sort Algorithm[J].,2012,52(2): - .   [点击复制]
【打印本页】 【下载PDF全文】 查看/发表评论下载PDF阅读器关闭

←前一篇|后一篇→

过刊浏览    高级检索

本文已被:浏览 1847次   下载 115 本文二维码信息
码上扫一扫!
一种快速排序算法的实现及其应用
黎佩南
0
(中国西南电子技术研究所,成都 610036)
摘要:
介绍了一种快速的排序方法——堆排序。以一个简单的实例结合完全二叉树说明了该 算法的原理,给出了利用C语言实现该算法的代码,从时间复杂度和辅助存储空间的角度分 析了与其他排序算法相比较的优劣。实验表明,在对大量数据进行排序时,堆排序算法效率 较高。
关键词:  排序算法  快速排序  堆排序  时间复杂度  辅助存储空间
DOI:
基金项目:
Realization and Application of a Quick Sort Algorithm
LI Pei-nan
()
Abstract:
A quick sort method called heap sort is introduced.The principle of this method is discussed by using a simple example together with completecinary tree.The cod es for the method realized by C are provided.The advantages an disadvantages are analysed in comparison with other sort methods in term of time frame and assis t memory space. Experiment indicates when sorting mass data, the heap sort has b etter efficiency.
Key words:  sort algorithm  quick sort  heap sort  time complexity  assist memory space
安全联盟站长平台