Can someone check my DFA?

33 Views Asked by At

I need to construct a DFA that accepts strings from the alphabet {a,b} that contain 3 consecutive "ab".This is my try and i am wondering if it's correct? enter image description here

1

There are 1 best solutions below

2
On

No. A $b$ from $q_4$ should take you to $q_0$.