How to do randomized quicksort as my test case is failing

hi @gunjit27_94aa0450736b408e