434 views

3 Answers

Best answer
1 votes
1 votes
S-> AA
A-> aSb | bSa | epsilon

Thats it.
selected by
0 votes
0 votes
is this correct .....?

S -> aSb / bSa / epsilon
0 votes
0 votes

This can be the grammar

edited by

Related questions

0 votes
0 votes
2 answers
1
0 votes
0 votes
2 answers
4
suneetha asked Dec 22, 2018
347 views
i thought that it is the language where both start and end symbols are same and i got 65 but the ans is 29