Pregunta de entrevista de Microsoft

Find max subarray length having highest sum