r/AskComputerScience • • Mar 12 '25
Need help with a DFA
I have to form a DFA with the following condition:
A = {a,b,c}
Form a DFA that acceps the language:
- The set A* −{bab}
I don't know if I am plain stupid or this is challenging but I've been stuck on this problem for quite some time
2
Upvotes
View all comments
Show parent comment
2
u/xenomachina Mar 12 '25
This is a good, general approach for building DFAs that have to handle a finite set of strings differently.
Essentially, you: