How to draw this finite automaton?

72 Views Asked by At

I have to draw this automaton ( can be deterministic or not) where L is the language on the alphabet {a,b} and where the words that starts with an a have an even length ( ex: aabbab) and the words that starts by a b have an odd length (ex: baa).

This is what i tried, could someone tell me if i am correct. It seems ok to me. Thanks a lot.

enter image description here