443 views
0 votes
0 votes
L=0^i 1^j 2^k | i=j or j=k

is the grammar DCFG?

1 Answer

0 votes
0 votes
it is the union of

0^i 1^i 2^k union 0^i 1^j 2^j

so for j is not clear that we r to consider it equal to i or j

NPDA can do that not DPDA

Related questions

0 votes
0 votes
2 answers
1
moe12leb asked Jan 21, 2023
272 views
what is the langauge generated by this grammar ?S >aS | aSbS | ε what is the language
0 votes
0 votes
1 answer
2
rd8794 asked Oct 15, 2022
356 views
how shall we prove or verify that { ( a^n!) , n>=0 } is not a CFG.I tried applying pumping lemma but got stuck.
1 votes
1 votes
1 answer
4
Mk Utkarsh asked Mar 22, 2018
1,363 views
Please post few examples of Linear Ambiguous Context Free Grammar.It would be helpful if you post grammars for famous languages.