Google interview question

One was something about permutations