516 views
0 votes
0 votes
1)L={W$W^{R}WW^{R}/ W\epsilon (0+1)^{+}$ } IS THIS CSL OR CFL.

2)L={$a^{m}b^{n}c^{p}/(m=n) or (n=p)}$ } IS THIS DCFL OR CFL.

Please construct PDA for 2nd language.

---------------------------------------------------------------------------------

I think 1st is CSL and 2nd is CFL

Please log in or register to answer this question.

Related questions

2 votes
2 votes
1 answer
1
Tuhin Dutta asked Dec 4, 2017
708 views
$a) \{\ 0^i\ 1^j\ 2^k\ \ | where\ i\ \neq j\ or\ j\ \neq k\ \}$$b) \{\ 0^i\ 1^j\ 2^k\ \ | where\ i\ \neq j\ and\ j\ \neq k\ \}$a) CFL(union of two OR-ed compa...
2 votes
2 votes
0 answers
4