TLE despit using randomized quicksort

I have implemented randomized quick sort here but still it is showing tle

MY CODE =>https://ide.codingblocks.com/s/317109

I have almost copied code of gfg but not the partition function and it is also mostly same but still gfg one passes all case mine just give tle for one

Gagan , I think you have shared the wrong ide… Pls share the correct ide of your code…

Sorry My Mistake my code => https://ide.codingblocks.com/s/319393

I have edited your code… Try to submit now…

If you didnt understood changes, pls let me know…

I have understood the changes made by you thanx for help