Block interview question

Permutations/ Strings