Question d’entretien chez Turing

Alternative 0s and 1s maximum length in a subarray