期刊文献+

快速排序算法优化策略 被引量:1

Optimization Strategy of Quick Sort Algorithm
下载PDF
导出
摘要 为了解决经典快速排序算法在面对待排序数据事先有序,大量重复数据,递归层数过深以及排序稳定性等诸多问题时暴露出来的缺陷,从枢轴的合理选择、三路划分、与其他排序法结合和尾递归优化等多个方面分析和总结了优化经典快速排序算法的各种策略,在实际使用快速排序算法时具有一定的参考价值。 In order to solve the problems exposed by the classical quick sort algorithm,such as ordered data in advance,a large num⁃ber of repeated data,too many recursive layers,and sorting stability,etc,this paper analyzes and summarizes various strategies of optimizing classical quick sort algorithm from the aspects of reasonable selection of pivot,three-way division,combination with oth⁃er sorting algorithm and tail recursive optimization,it has certain reference value in the actual use of quick sort algorithm.
作者 李驰 LI Chi(Department of Computer Science and Software Engineering of Jincheng College,Sichuan University,Chengdu 611731,China)
出处 《电脑知识与技术》 2021年第1期226-228,共3页 Computer Knowledge and Technology
关键词 快速排序 算法优化 枢轴 三路划分 排序稳定性 尾递归优化 quick sort algorithm optimization pivot three-way division sorting stability tail recursive optimization
  • 相关文献

参考文献6

二级参考文献24

  • 1周玉林,郑建秀.快速排序的改进算法[J].上饶师范学院学报,2001,21(6):11-15. 被引量:8
  • 2庞建雄.排序算法稳定性的深入讨论[J].桂林电子工业学院学报,1996,16(3):1-4. 被引量:1
  • 3周建钦.超快速排序算法[J].计算机工程与应用,2006,42(29):41-42. 被引量:17
  • 4郭晶旭.基于快速排序的改进算法.计算机科学,2009,36(4):343-344.
  • 5Dongarra. The Top 10 Algorithms[J]. IEEE Ctmaputing in Science & Engineering, 2000,2 (1):22-23.
  • 6严蔚敏.数据结构(C语言版)[M].北京:清华大学出版社,2010:272—277.
  • 7POWERS D M W. Parallelized quick sort with optimal speedup [ EB/ OL]. [ 2010- 01- 11 ]. http: //www. cs. ucsb. edu/~ gilbert/ cs140Win2OO9/sortproject/ParallelQuicksort, pdf.
  • 8CEDERMAN D,TSIGAS P. A practical quick sort algorithm for gra- phics processors [ J ]. Joumal of Experimental Algorithmics, 2009, 14(4) :4-24.
  • 9(美)RobertL.Kruse等著,敖富江.数据结构与程序设计[M]清华大学出版社,2005.
  • 10胡云.几种快速排序算法实现的比较[J].安庆师范学院学报(自然科学版),2008,14(3):100-103. 被引量:6

共引文献18

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部