Sorting through recursion


not able to pass a testcase

hey @Saransh99, you calling the function twice and not returning correct answer.
I have modified your code. You can check them here.https://ide.codingblocks.com/s/101984.