Im trying to construct finite automata in the form of diagrams accepting certain languages.
One is in all parts the alphabet is $\{a, b\}$. Construct FA $\{w \mid w \text{ has neither $aa$ nor $bb$ as a subword}\}$
I understand that for any word with $aa$ or $bb$ in it, it should not be able to get in to finite state. How ever, after drawing many diagrams with a trial and error approach I'm not really getting anywhere.
How can I construct a FA diagram to prove this rule?
Thanks, Ciaran
