摘要:
一、原理 二、代码 // 快速排序,作者:C语言技术网(www.freecplus.net)码农有道。 #include <stdlib.h> #include <stdio.h> void quicksort(int *arr,unsigned int len) { if (len<2) retu 阅读全文
摘要:
一、原理 1、第一次排序 2、第二次排序 3、第三次排序 二、代码 // 希尔排序,作者:C语言技术网(www.freecplus.net)码农有道。 #include <stdlib.h> #include <stdio.h> // 对希尔排序中的单个组进行排序。 // arr-待排序的数组,le 阅读全文