athenahealth interview question

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