Test cases not passing

why isnt any of my test cases passing pls help. The solution is being accepted on leetcode

Your approach is not correct

use kadane’s algorithm to find maximum circular sum

details solution is mention below

read this and if you have some doubt or you want to ask something
feel free to ask here

if you want to ask something about this feel free to ask
i hope this helps
if yes show your response with :heart: and don’t forgot to mark doubt as resolved

Bro my approach is correct its kadanes algorithm only pls see it carefully and instead of posting your solution help me in finding problem in my code

ohh okay sorry
your code is correct
only mistake you have done is you put return 0 inside loop
hence it is executing only one testcase and hence lead to wrong ans