423 Views
Let us assume that there are r boxes and each of them can hold one thing. There will be as many permutations as there are ways of filling in r vacant boxes by n objects. No. of ways first box can be filled: n No.
0 comments
Join in on a hand-picked round up of the best JavaScript articles every day.
Curated by our Moderators and Voted up by our Community. Free.
Let us assume that there are r boxes and each of them can hold one thing. There will be as many permutations as there are ways of filling in r vacant boxes by n objects. No. of ways first box can be filled: n No.