折半插入排序(內部排序 插入排序)

/* 算法思想:先折半查找出元素的待插入的位置,而後統一的移動待插入位置後面的元素 肖煜 */ #include<stdio.h> #include<stdbool.h> void BinaryInsertSort(int *a, int n) { int i, j, k, low, high, m; for(i = 1; i < n; i++) { low
相關文章
相關標籤/搜索