Pregunta de entrevista de Coviam

Sort a given binary array in single pass