Pregunta de entrevista de Google

One was something about permutations