Rosetta Problems

Special Permutations

https://leetcode.com/problems/special-permutations