I have inverted the array and finded max sum for that and then - it from total sum and taken - of it .It is passing all the testcases but on gving input this it gives weird ans
Max circular sum
where have u checked this logic from ???
myself only I have think 2 more logic o(n) o(1) space both working
why its my code is showing correct ?
now if u submit then ur code will give WA
the logic is wrong yr (atleast lagging somewhere )
check out the explanation i provideed
also submit here to crosscheck ur code is correct here
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.
