Permutation of digits

Sign in to test your solution.