Pregunta de entrevista de YITU Technology

Find the array and the largest sub-array, Time complexity required is O(n)