I know why the randomized quick sort is used, but can you please elaborate on how to implement randomized quick sort?
Randomized Quick Sort Doubt
Hey @Mohit2000, randomized quick sort is very similar to the normal quicksort. The difference is just that the pivot element is chosen randomly instead of some fixed element. I would request you to understand and go through the following article to understand it in the best way :
Randomized Quick Sort
I hope this clears your doubt ! 
Happy Learning ! 
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.