Maximum Circular Sum

Sir, 1 test case is failing (test case 4).Could you tell me what changes are required?

Hey @utkarshvashisth94
Your code is giving wrong answer for these 2 cases

8
10 -3 -4 7 6 5 -4 -1
Ans : 23

7 + 6 + 5 + -4 + -1 + 10

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.