Home
Evaluations
Tags
Lectures
Sandbox
About
Contribute
Evaluations
Tags
Lectures
About
Back
Practice By Tag:
The Principle of Inclusion and Exclusion
Question: 2015 Winter Midterm - 5
1 . Consider strings of length 99 consisting of the characters $a$, $b$, and $c$. How many such strings are there that start with $abc$ or end with $bbb$?
(a)
$3^{99} - 2 \cdot 3^{96}$
(b)
$2 \cdot 3^{96} - 3^{93}$
(c)
None of the above.
(d)
$3^{96} + 3^{96}$
Submit
Refresh