Ooyala interview question

Find the maximum-sum subarray of an array.