2,091 views

2 Answers

0 votes
0 votes
$$\begin{align*} &S\rightarrow aA\;|\;Aa \\ &A\rightarrow aAbAa\;|\;aaAb\;|\;bAaa\;|\;AA\;|\;\epsilon \end{align*}$$

Related questions

0 votes
0 votes
3 answers
3
Ayush Upadhyaya asked Mar 19, 2017
1,292 views
Is the following language context-free?L= { uvwvR : u,v,w∈ {a,b}+ |u| = |w| =2 }If yes, provide set of productions for the same.