Solution for permutation related questions
More solutions