not able to pass a testcase
Sorting through recursion
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.
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.