快速排序 - C语言
摘要:
看了这本《数据结构与算法分析》中的快速排序。写下自己理解后的代码,以备后用。#include "stdio.h"void insertSort(int arr[], int N){ int j, tmp, P; for(P=1; P0 && arr[j-1] > tmp; j-- ) ... 阅读全文
posted @ 2015-05-21 16:00 marcus.x 阅读(175) 评论(0) 推荐(0) 编辑