Pregunta de entrevista de HashedIn by Deloitte

Find a subarray which give maximum sum of given array