Maximum circular subarray sum

My code is passing all the test cases here but for my custom input -
1
3
-16 -10 -3

Output is coming as 0

Correct Output is -3

Can you please check this and correct my code

hello @mahima
pls share ur code using cb ide

check now->