implement quicksort in c again to practice and in oding to see what its like

This commit is contained in:
2023-08-17 23:20:31 -07:00
parent bd0fc7054d
commit fb08343f8c
3 changed files with 92 additions and 7 deletions

2
c/qs.c
View File

@@ -38,7 +38,7 @@ void quick_sort(int arr[], int lo, int hi) {
int main() {
int array_len = 5;
int arr[5] = {5, 4, 3, 2, 1};
int arr[5] = {0, 2, 5, 1, 6};
quick_sort(arr, 0, array_len - 1);
printf("[ ");