A monkey types each of the 26 letters of the alphabet exactly once (the order is random). What is the probability that the word Hamlet appears somewhere in the string of letters?
Progress
So far I thought that Hamlet is a 6-letter string and could appear in 21 different spots in the 26-letter string. But what should I do next? That is, what is the number of possible sequences of the other letters and the total probability?
Best Answer
HINT: First count how many possible $26$-letter strings there are. Now, abbreviate Hamlet to H, and use the remaining $20$ letters along with H.