I'm totally new to DFA's and automaton in general -- this is the first week or two of class that I've actually seen this -- and I'm curious as to a pattern to match the following:
"Match the set of all strings on the alphabet {a, b} that have at least one b and exactly 2 a's"
I've tried to construct a DFA to represent this structure, but I have no idea how to form a structure to count for something and match for one.
Can someone help?
Okay, so. Here's what I got and I think it's the right answer.