Microsoft interview question

Find max subarray length having highest sum