For example if a question is to find the number of different ways of arranging $4$ letters of $26$-letter alphabet with repetition, I know that we have to do $26^4$.
However, I am confused as to why exactly we are doing $26^4$. Are we assuming that all $4$ repetitions are of the same letter (For example 'AAAA' or 'BBBB')? Can't the letter repeat for $3$ times or $2$ times rather than $4$ times?
What if the word is something like 'AABC' or 'ABBC' etc?
Please explain in a way that an A-level student can understand. Thanks.