快速排序结合插入排序
摘要:
继上一篇堆排序之后,用相同的数据结构写了个快速排序和插入排序,当数组的长度较小的时候,可使用插入排序,实现如下:QuickSort.h 1 #ifndef __QUICKSORT 2 #define __QUICKSORT 3 #include "MySqList.h" 4 #include "In... 阅读全文
posted @ 2014-06-04 10:15 zd_cugcs 阅读(404) 评论(0) 推荐(0) 编辑