
Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
For each word, can you count the number of permutations possible if all characters are distinct?
How to reduce overcounting when letters are repeated?
The product of the counts of distinct permutations of all words will give the final answer.