Pregunta de entrevista de Riverbed Technology

Largest sum in a contiguous subarray.