AlgoMaster Logo

Maximum Subarray

nums=[-2, 1, -3, 4, -1, 2, 1]
0 / 20
-21-34-121currentSum = 0maxSum = 0
algomaster.io
Step:Start of algorithm