Maximum subarray problem: Difference between revisions

Content deleted Content added
Undid revision 622847550 by 114.79.28.117 (talk)
Tag: section blanking
Line 68:
 
The runtime complexity of Kadane's algorithm is <math>\mathcal{O}(n)</math>.
 
==Divide and conquer==
A [[divide and conquer algorithm]] is introduced in (Bentley, Jon (1984)); its time complexity is <math>\mathcal{O}(n \log n)</math>.
 
==Generalizations==