in Theory of Computation edited by
389 views
1 vote
1 vote

Isn't the second one is CFL?

in Theory of Computation edited by
389 views

2 Comments

no..

we push 0 n times and pop out on every 1 and that iis m times now for 2 that is 2n we dont left with n from which we can compare
2
2
ohh my mistake....got it thanks!!
0
0

1 Answer

0 votes
0 votes
  • Simplelly we can put n in place of m  Becz n=m .  Then language become 
  • L=$0^{n}1^{n} 2^{2n}$ which is csl.

Related questions