- #1
Dada
- 10
- 1
- Homework Statement
- Construct a best-case example for Quicksort with n = 15
- Relevant Equations
- Please see the images for algorithm of QuickSort
Hello to those who visit!
Give a question "Construct a best-case example for Quicksort with n = 15", please explain how to get this case? Is there other special cases too if possible?
The following images are the algorithm of Quicksort.
My guess is that if I sort them in order or use number repeatedly, then will it be the best case example?
Thank You!
Give a question "Construct a best-case example for Quicksort with n = 15", please explain how to get this case? Is there other special cases too if possible?
The following images are the algorithm of Quicksort.
My guess is that if I sort them in order or use number repeatedly, then will it be the best case example?
Thank You!