r/AskComputerScience • • Feb 08 '25

Theory of Computation question help

Hello, I'm struggling with a particular question to design a DFA for the Set of all strings with both 0110 as well as 1001 as substrings, the alphabets being {0,1}. can anyone help me?

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/PROJECTErza Feb 08 '25

I see, I was trying to directly do it on one DFA and completely forgot about the intersection. Thank you!