You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
current_max = max(A[i], current_max + A[i]); //Current number bada hai ? (Should I start a new segment from here..?) or should we increase the subarray ?