Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how can i construct the finite automata for this qustion
Posted
Comments
Sergey Alexandrovich Kryukov 30-Oct-14 17:39pm    
What does it mean? How "2 a's and 2 b's" different from "a, b, c and d"?
—SA

1 solution

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 30-Oct-14 17:40pm    
Fair enough, a 5, but I did not fully understand the question. :-)
—SA
CPallini 31-Oct-14 4:25am    
I suppose the OP automaton (in its simplest form) should parse a grammar like:
g := "aa" | "bb"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900