摘要: 原理 : 將資料逐一插入以排序好的序列中 Algo : for i <- 2 to n do 將a[i] 插入 a[1] ~ a[i-1] 之間適當的位置,使a[1]~a[i]排好 #include <stdio.h> #define SIZE 8 void sort(int array[], in 阅读全文
posted @ 2016-02-29 18:05 jeremyatchina 阅读(164) 评论(0) 推荐(0) 编辑