Solution :
If A and B are two sets having m and n elements respectively such that m ≤ n, then the total number of one-one functions from A to B is
nCm×m!
where m! is m factorial.
For example, Let set A have 3 elements and set B have 4 elements, then number of one-one functions are 4C3×3! = 4×6 = 24