Solve the 'Permutation Sequence' question