I have cleared all test cases except 1. Please help me out in finding my mistake.
Link to Problem : https://hack.codingblocks.com/app/contests/1941/1077/problem
Link to my code : https://ide.codingblocks.com/s/368342
Maximum Circular Subarray
hello @arunimakhanna11
u missed one case, contiguos array can also be an answer so u need to consider that as well.
a) run kadane on ur original array , say u get mx1 as an answer.
now apply ur logic and get another answer say u get mx2
print max of mx1 and mx2
I am still unable to clear the test cases even after making the necessary changes.
Okay, thanks a lot 