摘要
排序算法作为计算机程序设计、数据库及操作系统等课程的重要基础,广泛应用于各种领域。该文介绍了直接插入排序、二分法插入、希尔排序的基本思想,实现代码,并针对不同数据进行比较。
Sorting algorithms are an important foundation for courses such as computer programming,database and operating systems,which is widely used in various fields.The article introduces the basic idea of direct insertion sorting,dichotomy insertion and hill sort⁃ing.At the same time it implements the code and compares advantages and disadvantages against different data.
作者
李萍
LI Ping(School of Mathematics and Information Technology,Yuncheng University,Yuncheng 044000,China)
出处
《电脑知识与技术》
2020年第1期289-290,共2页
Computer Knowledge and Technology
关键词
直接插入
二分法插入
希尔排序
direct insertion sorting
dichotomy insertion
hill sorting