c++實現快速排序算法

#include <unistd.h> #include <stdio.h> using namespace std; void quickSort(int arr[], int left, int right) { if (left > right) { return; } int i = left; int j = right; int base = arr[left];
相關文章
相關標籤/搜索