摘要: 一、算法导论上的快速排序void swap(int* value1, int* value2){ int temp = *value1; *value1 = *value2; *value2 = temp;}void QuickSort(int* array, int low, int high){ if (low >= high) return; int i = low - 1; for (int j = low; j = high) return; int key = array[low];//pivot int i = low; in... 阅读全文
posted @ 2013-09-06 13:44 Wolves_群狼 阅读(228) 评论(0) 推荐(0) 编辑