Pregunta de entrevista de Zscaler

Find sub array with which max sum equal to 0