it is giving wrong answer for test case
Max subarray sum code error
@chahatkumar hey chahat your forget to take max sum which will compare with currrent sum then max of these two will be your output.
okay thanks
it is giving wrong answer for test case
@chahatkumar hey chahat your forget to take max sum which will compare with currrent sum then max of these two will be your output.
okay thanks