The Gateway to Computer Science Excellence
0 votes
195 views

in Theory of Computation by Active (4.9k points)
retagged by | 195 views
0
@Kishlay plz chk it

1 Answer

+1 vote
1 non terminal is enough.

$S\rightarrow AB$

$A\rightarrow MA$

$M\rightarrow AC$

$A\rightarrow a$

$B\rightarrow BB$

$B\rightarrow b$

$C\rightarrow D$

$D\rightarrow d$
by Veteran (117k points)
+1
unit production
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,654 questions
56,166 answers
193,872 comments
94,261 users