The first line of the input contains ‘T’ denoting the number of test cases.
The first line of each test case contains an integer N.
For each test case return the number of satisfying permutations in a new line.
You do not need to print anything or take input. This already has been taken care of. Just implement the function.
1 <= T <= 10
0 <= N <= 15
Time Limit: 1 sec
Unique Paths III
Unique Paths III
Ninja And The Clan
Combination Sum III
Combination Sum III
Combination Sum III
Generate All Strings
8-Queen Problem