数据结构之---C语言实现希尔排序

//希尔排序Shell Sort //杨鑫 #include <stdio.h> #include <stdlib.h> void ShellSort(int a[], int length) { int increment; int i,j; int temp; for(increment = length/2; increment > 0; increment /= 2) //用来控制
相关文章
相关标签/搜索