There are 4 D's, so we have to choose 4 slots out of the 7 to place the D's. This can be done in $\binom{7}{4} = 35$ ways.
Now, we have 3 slots left to fill with the remaining letters A, B, and E. There are 2 E's, so we have to choose 2 slots out of the 3 to
Show more…