Problem: Given an arbitrary finite sequence of letters (represented as a word), a subsequence is a sequence of one or more letters that appear in the same order as in the original sequence. For example, $N, C T, O T T$, and $C O N T E S T$ are subsequences of the word CONTEST, but NOT, ONSET, and TESS are not. Assuming the standard English alphabet $\{A, B, \ldots, Z\}$, compute the number of distinct four-letter "words" for which $E E$ is a subsequence.
Solution: Notice that four-letter words containing at least two $E