How many strings of length 4 can be generated from the letters {A,B,C,D} ?
If the element is on the first place
If the element is on the second place
If the element is on the third place
How many strings of length 4 on the alphabet {A,B,C,D} do not contain AB as a substring ?
Comments