r/AskComputerScience • u/PROJECTErza • 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
View all comments
Show parent comment
1
u/PROJECTErza Feb 08 '25
if the first dfa has 5 states and the second has 5 states, is the intersection gonna have 25 states?