- 博客(1)
- 收藏
- 关注
原创 C语言快速排序(容易理解的完整注释+完整输出)
#include <stdio.h>void quickSort(int arr[], int low, int high)//arr是传进来的数组,low和high是两个指针的预定值{ int k; int head = low;//头针值 int tail = high;//尾针值 int PivotKey = arr[head];//设定标定为头指针 if(low >= high) return; while(.
2021-11-14 17:19:39 1035
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人