Quick sort challange

1 test case is showing run error

Hi @J20APPPP0005, actually you are recieving time limit error , since you are not using randomized quick sort as in the question it is mentioned that (Note : Use randomized quicksort, otherwise worst case will not pass). so select your pivot element random while applying quicksort
refer below code for explanation and code:-

In case of any doubt feel free to ask :slight_smile:
If you got the answer then mark your doubt as resolved

sorry my bad!! but thank u