Pergunta de entrevista da empresa Google

One was something about permutations