Circular sum subarray under array

can somebody please make me understand how to approach this question i am a little bit confused.
Basically i know that we have to define kadanes algo first and then store it in a variable and then we have to invert all the signs of the elements. and from the next step i am confused can somebody please help.

Maximum Circular Subarray Sum (Editorial) Go through this discussion and try to work with some sample case following that approach.

can you tell me what is wrong in my code it is not giving me the correct output

can you tell me what is wrong in my code it is not giving me the correct output , code --> https://ide.codingblocks.com/s/251559

can you tell me what is wrong in my code it is not giving me the correct output https://ide.codingblocks.com/s/251559


refer to this code
u are not calling kadane algo for the 2nd time

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.