Implement a sorting algorithm - QuickSort(ascending/descending)
- Algorithm's name
- Execution time
- Counters: swaps, comparisons
- Sorting result
- sort the input array
- sort in ascending order of sorted array in ascending order
- sort in descending order of sorted array in ascending order
- sort in ascending order of sorted array in descending order
- sort in descending order of sorted array in descending order
- Clone repository:
git clone https://github.com/MKruchok/Algorithms.git - Choose lab_1 branch:
git checkout lab_1 - Get into folder:
cd Algorithms - Run
py quick_sort.py -a <int array> -o <asc/desc>