I have to make a Moore Diagram in order to identify the following sequence: BABBAA Two conditions: It shouldn't stop and it should be able to detect overlapped sequences. I don't really know if it is correct and as you can see by the question mark between the state E3 and the state E2 with input A, I don't really know if that is fine. Could anyone point the mistakes I made on this diagram or if its correct?
Thanks for your help!