0
2.3kviews
Design a DFA to accept strings over the alphabet $\sum={a,b}$ containing even number of a s
1 Answer
written 7.0 years ago by |
The transition from C to B remains to ensure a loop in the DFA to ensuer even number of a‟s in between occuring b‟s.
Strings tested:
babaaa => (A-A-B-B-C-B-C)
aaaab => (A-B-C-B-C-C-C)
baa => (A-A-B-C)