in which test case my code-“https://ide.codingblocks.com/s/95475” is wrong
Wrong test case here
@Ayusinha hey ayush your code is giving right answer for the test case like
4
8 15 3 7
your output is 15
but expected output is 22.
what should i do to pass this?
@Ayusinha hey ayush in the video bhaiya discuss about recursion relation go and watch it again that recursion will lead to pass all 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.