Question d’entretien chez Ooyala

Find the maximum-sum subarray of an array.