You are viewing a single comment's thread. Return to all comments →
@dianadoctor1995 can you help me understand why we are adding m to difference result here?
You then add the resulting negative number to m and this will result to another possible positive modulo. *
Seems like cookies are disabled on this browser, please enable them to open this website
Maximum Subarray Sum
You are viewing a single comment's thread. Return to all comments →
@dianadoctor1995 can you help me understand why we are adding m to difference result here?