what’s the error in my code as i am not getting correct output
.
Maxuimum circular subarray sum
and my total sum of original array is ms1 only.
i corrected that 2 though.
should i consider cs1 instead of ms1?
i have stored sum in another array but still i am always getting same ans = 12 everytime https://ide.codingblocks.com/s/194861
@aditi2512201012019
aditi in line number 28 it should be sum1 - (-ms2) because ms2 is maximum sum after negating the array.so to get actual sum we need to add - sign.
in case u have any doubt in approach pls refer this

