Given an integer n, consider a nums representing a permutation of the integers from n.
A permutation nums is defined as self divisible if nums[i], ii satisfying i n, where
Return the total number of self divisible permutations of length n.
Constraints:
n
Given an integer n, consider a nums representing a permutation of the integers from n.
A permutation nums is defined as self divisible if nums[i], ii satisfying i n, where
Return the total number of self divisible permutations of length n.
Constraints:
n