Quicksort: 2 test-case showing run-error

code: https://ide.codingblocks.com/s/119815
i have implemented quicksort technique ,it runs fine in my notebook but show’s runn error in two test cases

Hi pulkit,
Right now I’m having difficulty in accessing the test cases, so I can’t tell in what cases your code is not giving the right output. I will try to resolve this asap,
In the meantime, you can check this code which works perfectly fine for all the test cases.

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.