1,199 views
0 0 votes

wxw ;w,x belongs to {a,b}*

this regular or dcfl or cfl??? somewhere it is written as regular but dontknow why??

3 Answers

1 1 vote
Yes, the language is regular because

wxw = x only when w, x belong to {a,b}^*

Hence the language is (a+b)^* which is regular
0 0 votes
Yes, the language is regular because you can eliminate the dependency between two w's by substituting epsilon in place of w. Once the dependency is over the language becomes regular.

Now, since language is regular it is also CFL & DCFL.
Position:
Show:

No related questions found