plz check my test cases are coming wrong .
Maximum Subarray Sum
I have edited your code, try to submit it now,
yups its fine now
But i cant understand y mine was not working
There was a error in line no 25 of your code, as you need to have output in required format only and also I have taken currsum=0;
maxsum=a[0];