Randomized QuickSort

I didn’t get the complexity of the worst case of simple Quicksort how the recurrence relation is solved for the worst case?


Watch this video and tell me if you are able to understand it.

@S19APP-PP0108 If we see out paritition function which running from s to e, it will take 0(n) so why we write like this kn.

I suggest you to first understand the quicksort algorithm thoroughly and clear your basics. Only then you will be able to understand it furthur. Refer to the below link for it -


I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.