2,083 views

3 Answers

Best answer
4 votes
4 votes
regular .. look at it this way: we have, x wwr y . x and y can expand from both ends.. only thing required is 00 or 11 in the middle.. which is nothing but the smallest string in wwr. So the language ultimately comes down to, "language containing 00 or 11 as substring"
selected by
2 votes
2 votes

This language is regular since we have flexibility in choosing x and y we can convert it to set of strings containing 00 or 11 as substring.

suppose x=110001, y=100011, w=0110, w^r=0110, w=011, w^r=110

then XWW^rY = 11000101100110100011 or 1100010111100100011.

so REGULAR EXPRESSION is = (1+0)*(00)(1+0)* + (1+0)*(11)(1+0)*

0 votes
0 votes
regular language bcz X and Y are expanded to both sides

Related questions

0 votes
0 votes
2 answers
1
rohan.1737 asked Aug 17, 2018
710 views
Is there any way to check whether a language is regular or not without using Pumping lemma?
1 votes
1 votes
1 answer
4