permutations II

576ms
752ms