Pregunta de entrevista de Restroworks

Q: Sort a array containing only 0,1,2 in O(n) time complexity.