IBM interview question

Given an array of integers find the maximum subarray