Maximum subarray sum :testcases arenot passing
Hi Sindu, I’ve made some changes in your code and now it is working fine. You can go through the updated code here and reply to this thread in case of any doubts: https://ide.codingblocks.com/s/62128
Also, you can use INT_MIN instead of initialising sum with a large arbitrary negative value.