DFA for L:
We can design a DFA with three states: q0, q1, and q2. The initial state is q0, and the accepting state is q1. The transitions are as follows:
- From q0, if we read a 0, we stay in q0. If we read a 1, we move to q2.
- From q1, if we read a 0 or a 1, we
Show more…