Pergunta de entrevista da empresa athenahealth

find the maximum sub array with same 1s and 0s