Question d’entretien chez Coviam

Sort a given binary array in single pass