摘要: 1.插入类排序在一个已经有序的序列中,插入一个新的记录。有直接插入排序、折半插入排序、希尔排序。插入类排序直接插入排序 1 void InsertSort(int R[], int n) 2 { 3 int i, j; 4 int temp; 5 for (i = 1; i ... 阅读全文
posted @ 2015-03-31 17:12 huashu123 阅读(488) 评论(0) 推荐(0) 编辑