2.permutations of a given string