permutations
Calculate the number of arrangements of items in a specific order
int permutations(int n, int k);permutations(4, 2); //12
permutations(5, 3); //60
permutations(6, 4); //360Last updated