Frage im Vorstellungsgespräch bei Google

Maximum contiguous sub sequence sum problem.

Antworten zu Vorstellungsgespräch

Anonym

31. Okt. 2011

Detailed analysis and solution are available on the blog: http://codercareer.blogspot.com/2011/09/no-03-maximum-sum-of-all-sub-arrays.html

Anonym

20. Jan. 2012

public static void maxSum(int[] arr){ int maxsofar = 0; int maxendinghere = 0; for (int i=0; i

1