Practice By Tag: The Principle of Inclusion and Exclusion
Question: 2017 Winter Midterm - 5
1 .
Consider strings of length six consisting of the characters $a$, $b$, $c$, and $d$. How many such
strings are there that start with $abc$ or end with $cccc$?