Maximum subarray sum 2
Hello @manthansrivastav1234 as you can see the next of this in that also we are making change in the value of the current sum so it would not matter even if you dont initialise it with 0.
and if you will dry run you will be able to judge this in the better way.
if you have any doubt you can ask here:
Happy Learning!!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
