3 ms·
The number of permutations of 1..N is N! ("N factorial"). The total number of functions from 1..N to 1..N is N^N.
by areyousure 10y ago
The number of permutations of 1..N is N! ("N factorial"). The total number of functions from 1..N to 1..N is N^N.