My code is working when i put the sample case. But when i submit it, it is giving wrong for all test cases. Can u check it please
Max circular sum
link for my code
since we need to find the maximum circular sum
that is
3 -4 -5 -5 4 5
would give us answer 12
but ur code produces a wrong answer
try to apply for some logic
if u are unable to do it ping me i`ll help out
1 Like
i have done it thnx for the help
hi ur logic was faulty, hope u have solved the problem. if ur doubt is resolved please mark it as resolved