add solution for PermutationSequence