Maximum circular subarray sum


this code is not passing test case 0

for the test case:
5
-5 3 4 -2 1
ur answer will be 6
required 7