Content deleted Content added
Adding local short description: "Problem in computer science", overriding Wikidata description "the task of finding a contiguous subarray with the largest sum in a given array of numbers" |
Tag: Reverted |
||
Line 149:
===Complexity===
The runtime complexity of Kadane's algorithm is <math>O(n)</math>.{{sfn|Bentley|1989|p=74}}{{sfn|Gries|1982|p=211}}
|