retagged by
434 views

2 Answers

0 votes
0 votes
$L1=\left \{a^{n}b^{n}a^{*} \right \}$

$L2=\left \{ a^{*}b^{m}a^{n}|m\neq n\right \}$

both L1 and L2 individually are DCFL but $L1\bigcup L2$ are not we can't  discriminate working of both on seeing a,
0 votes
0 votes
n=l or l!=k means it can be n=l, l!=k, n=l and l!=k..in last case 2 comparisons are required so it cannot be cfl..it should be csl..plz correct me if I am wrong.

Related questions