摘要: 快排思想 int position(int * num,int left,int right) { int temp=num[left];//选出中值 while(left<right){ while(left<right&&num[right]>=temp)//从右开始,如果不符合指针一直向左 r 阅读全文
posted @ 2023-12-04 17:45 小小卡拉咪 阅读(15) 评论(0) 推荐(0)