Hello, all,
First time poster, here. Anyways, here is my question from the textbook Introduction to the Theory of Computation, 2nd Ed. (Sipser, 2006). Question 1.19 is asking us to convert a regular expression to a nondeterministic finite automaton. The regular expression is given as:
$$ (0 \cup 1)^* \cdot 000 \cdot (0 \cup 1)^*$$
Which I interpret as any number of 0's or 1's, followed by 000, followed by any number of 0's or 1's.
This is the solution that I came up with:
However, the professor of this course I am taking provided a solution, albeit unsimplified, that is different from mine. I am wondering where I went wrong. I have asked this same question to my professor via e-mail (distance ed.), but since I am not expecting a reply based on past experience, I have also asked this question here. Any help you can provide would be greatly appreciated.