in Theory of Computation retagged by
590 views
1 vote
1 vote
L={n(a)!= n(b) ,(a,b)* belongs to universal language }

 

is CFL or DCFL

explain.
in Theory of Computation retagged by
590 views

2 Answers

0 votes
0 votes
Best answer

Given Lang. is Accepted by DPDA

selected by
0 votes
0 votes

L= {w |  na(w)=nb(w)} // DCFL

L' ={w |  na(w)!=nb(w)} // ?

DCFL is closed under Complement

so L' is DCFL too in that way.

2 Comments

na(w) not equal to nb(w)

then it is CFL /DCFL or not??????
0
0
i answered i think.

DCFL so CFL too.
0
0