30 views

I'm having doubt with this. The dfa designed here accepts the string "b" which violates the condition in question. Also the trap state was given as q1. I thought the trap state was q2. Need your suggestions.

asked | 30 views

+1 vote

• ## Given DFA is right with q2 is trap state.

•

answered by Boss (24k points)
+1
Thanks a lot. I haven't noticed n>=0.