33 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.

+1 vote

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

•

+1
Thanks a lot. I haven't noticed n>=0.