文件名称:插入排序
介绍说明--下载内容来自于网络,使用问题请自行百度
将一个记录插入到已排序好的有序表中,从而得到一个新,记录数增1的有序表。即:先将序列的第1个记录看成是一个有序的子序列,然后从第2个记录逐个进行插入,直至整个序列有序为止。
要点:设立哨兵,作为临时存储和判断数组边界之用。(A record is inserted into a sorted ordered table to obtain a new ordered table with a record number increase of 1. That is, the first first sequences of the sequence are considered as an ordered subsequence, and then inserted from the second records one by one until the entire sequence is ordered.
Main points: set up sentry as temporary storage and judgment of array boundaries.)
要点:设立哨兵,作为临时存储和判断数组边界之用。(A record is inserted into a sorted ordered table to obtain a new ordered table with a record number increase of 1. That is, the first first sequences of the sequence are considered as an ordered subsequence, and then inserted from the second records one by one until the entire sequence is ordered.
Main points: set up sentry as temporary storage and judgment of array boundaries.)
相关搜索: Visual C++
(系统自动生成,下载前可以参看下载内容)
下载文件列表
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.