Computer Science, asked by aggarwaleshan2271, 1 year ago

Analyze quick sort algorithm in best case and worst case and average

Answers

Answered by Anonymous
0

It is very similar to selection sort, except that it does not always choose worst-case partition. Mathematical analysis of quicksort shows that, on average, the algorithm takes O(n log n) comparisons to sort n items. In the worst case, it makes O(n2) comparisons, though this behavior is rare.

Answered by Anonymous
0

Explanation:

analyse Quicksort algorithm is best case and worst case

Similar questions