How many strings of length $4$ can be built from letters $a, b, c, d, e$?

74 Views Asked by At

$B$ is a group of all strings of length $4$ built using letters $a,b,c,d,e$.

What is $|B|$?

I think the answer is $5^4$, but why we don't need to consider the duplicate letters here?