Talk:Maximum subarray problem: Difference between revisions

Content deleted Content added
No edit summary
SineBot (talk | contribs)
m Signing comment by Poitevinpm - ""
Line 83:
 
The divide and conquer version of the maximum subarray is notoriously O(n lg n) (see CLRM for instance as a reference.)
I have trouble understanding the solution, for instance, what sum[f - 1] and sum[f]? the only array defined clearly in the problem is a, I don't know what sum is supposed to contain. An additional explanation would be great. <!-- Template:Unsigned --><small class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Poitevinpm|Poitevinpm]] ([[User talk:Poitevinpm#top|talk]] • [[Special:Contributions/Poitevinpm|contribs]]) 21:25, 7 January 2018 (UTC)</small> <!--Autosigned by SineBot-->