315 views
0 votes
0 votes
L = { w ∈ {a,b}* : a(w) = b(w) }

We're using the notation:

a(w) = number of a's in a string w
b(w) = number of b's in a string w
S⇾ aSbS | bSaS | ε

 

Doubt:

Is the same language generated by below grammar also:

S⇾ SS | aSb | bSa | ε

Please log in or register to answer this question.

Related questions

3 votes
3 votes
2 answers
1
1 votes
1 votes
0 answers
2
Aakanchha asked Jan 19, 2018
234 views
Is equivalence problem decidable in case of-:1) CFG's2) DCFG'sIf yes, then how?
0 votes
0 votes
0 answers
3