911 views
0 votes
0 votes

L={wxwR |w belongs to(a+b)* ,x belong to (a+b)}

the complement of language L is ????

A)regular

B)dcfl but not regular

C)cfl but not dcfl

D)none of these

answer given is c but any example is there please provide??

1 Answer

1 votes
1 votes
S is the start state.

S→ aSa | bSb | A | ɛ
A→ aBb | bBa
B→ aBa | bBb | aBb | bBa |  a | b | ɛ
edited by

Related questions

0 votes
0 votes
0 answers
1
abhinowKatore asked Jan 20, 2023
253 views
What will be complement of this dfa? And also complement of L(N) and L(Complement of N)
0 votes
0 votes
0 answers
2
Manu Thakur asked Sep 29, 2017
598 views
Is the following language CFL?L = complement of {$a^ib^jc^k$ | i!=j and j!=k}
1 votes
1 votes
1 answer
3