Pergunta de entrevista da empresa Zscaler

Find sub array with which max sum equal to 0