In: Statistics and Probability
Assume that product codes are formed from the letters X, S, W, R, and Q, and consist of 6 not necessarily distinct letters arranged one after the other. For example, XXQSWQ is a product code.
(1) How many different product codes are there?
(2) How many different product codes do not contain S?
(3) How many different product codes contain exactly one Q?
Hope you'll understand the solution provided by me since it's step by step.
If you do, please like it and comment, if you have any more query. Thanks.