0
2.0kviews
Prove that the worst case efficiency of quick sort is $o(n^2)$

Subject: Analysis Of Algorithm

Topic: Divide Aqnd Conquer

Difficulty: Medium

1 Answer
0
17views

Quick Sort : - It is a sorting method.


To Prove :- Worst case efficiency of quick sort is $o(n^2)$


Proof :- The partitioning step: at least, n − 1 comparisons.


  • At each next step for n ≥ 1, the number of comparisons is one less, so that -

  • T(n) …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.