MAXIMUM SUBARRAY SUM APPROACH 2

ACCORDING TO WHAT SIR HAS EXPLAINED IN THE TUTORIAL, I’d implemmented the code, but the output is wrong? So, please check my code.

@CODER_JATIN this isnt the code for maximum subarray sum… do you mean to ask for something else or is this the wrong code?

No, its a code for sum of all the submatrices approach 2.

Thanks, this issue has been resolved.

1 Like

@CODER_JATIN Do mark the doubt as resolved if the issue has been resolved. happy learning!

can you share the correct code