add maximum subarray as a facebook interview question