test case not passing. same problem occured in the prev question
Test case not passing
Check for this input:
1
6
1 2 5 -2 -3 5
Expected answer is 13
Yours is giving is 16.
If you aren’t able to find why answer is 13, let me know will attach explanation for same.
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.
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.