Content deleted Content added
Line 54:
[[Special:Contributions/217.132.204.221|217.132.204.221]] ([[User talk:217.132.204.221|talk]]) 05:47, 15 June 2010 (UTC)
No, it finds any subarray of the whole array. That's what the line "max_ending_here = max(0, max_ending_here + x)" is for: the points where the max is 0 are the ones where a new subarray starts. —[[User:David Eppstein|David Eppstein]] ([[User talk:David Eppstein|talk]]) 06:28, 15 June 2010 (UTC)
|