Question: Convert the following grammar into finite automata.
0

Mumbai university > Comp > SEM 4 > TCS

Marks: 5M

Year: Dec 2015

We can consider states $q_0, q_1,q_2$ corresponding to the states S, X and Y and $q_f$ is new state behaves like final state