Computer Science, asked by sparida3827, 11 months ago

Running time of quicksort when all elements of array a have the same value?

Answers

Answered by paramasivandeepak
1

The running time of QUICKSORT when all elements of array A have the same value will be equivalent to the worst case running of QUICKSORT since no matter what pivot is picked, QUICKSORT will have to go through all the values in A.

Similar questions