Reputation:
Could someone explain how to do this? This is homework and I'm fairly new when it comes to programming.
Upvotes: 0
Views: 2250
Reputation: 28312
This is not a regular language and therefore there is no DFA which accepts it. You can prove this using the pumping lemma or the Myhill-Nerode theorem.
Upvotes: 1