快速排序实现
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include<unistd.h>
int Partition(int *L,int low,int high)
{
int pivotkey=0;
L[0]=L[low];
pivotkey=L[low];
while(low<high){
while(low<high&&L[high]>=pivot
原创
2021-10-26 17:41:12 ·
68 阅读 ·
0 评论