检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李驰[1] LI Chi(Department of Computer Science and Software Engineering of Jincheng College,Sichuan University,Chengdu 611731,China)
机构地区:[1]四川大学锦城学院计算机与软件工程学院,四川成都611731
出 处:《电脑知识与技术》2021年第1期226-228,共3页Computer Knowledge and Technology
摘 要:为了解决经典快速排序算法在面对待排序数据事先有序,大量重复数据,递归层数过深以及排序稳定性等诸多问题时暴露出来的缺陷,从枢轴的合理选择、三路划分、与其他排序法结合和尾递归优化等多个方面分析和总结了优化经典快速排序算法的各种策略,在实际使用快速排序算法时具有一定的参考价值。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.
关 键 词:快速排序 算法优化 枢轴 三路划分 排序稳定性 尾递归优化
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.248