Quicksort by recurssion


this is my code it is not giving correct output can you plz tell why

https://ide.codingblocks.com/s/103625 this is my code two test cases are giving right ans 3rd is giving tume limit can you tell why

hey @Anoushka_1805, you have to use random function here, read the question again.

Given an array A, of N elements. Sort the array using quicksort algorithm.(Note : Use randomized quicksort, otherwise worst case will not pass).