386 views

1 Answer

0 votes
0 votes
it is CFL because it can Non-deterministic PDA can solve this.

k will either be n,n+1,n+2,.....,2n.

Now non-deterministic PDA can run them to find out which one satisfies it.

Thus it is CFL.

Related questions

6 votes
6 votes
1 answer
1
0 votes
0 votes
1 answer
2
Sanjay Sharma asked Jul 3, 2016
4,762 views
Which of the following problem is undecidableMembership problem for CFLMembership problem for CSLMembership problem for regular setMembership problem for type 0 languages...
2 votes
2 votes
1 answer
3
Souvik33 asked Nov 23, 2022
313 views
If L and $L^{c}$ both are CFL, the L must be DCFL a. TRUE b.FALSE