559 views
0 votes
0 votes
L1= Set of all strings having equal number of 00 and 11.
L2= Set of all strings having equal number of 01 and 10.
Which of the following is true?
(a) Both are Regular (b) Both are Context-Free
(c) L1 is regular, L2 is Context Free (d) L1 is CF, L2 is Regular

2 Answers

0 votes
0 votes

L1 is CFL 

L2 is regular.

 

edited by

Related questions

0 votes
0 votes
0 answers
1
himgta asked Aug 31, 2018
246 views
https://gateoverflow.in/21039/simplified-cfgDoubt in the solution....plz help!
0 votes
0 votes
1 answer
2
himgta asked Aug 7, 2018
349 views
0 votes
0 votes
0 answers
3
himgta asked Jul 31, 2018
397 views
https://gateoverflow.in/188609/me-test-seriesThis question has not been answered, can somebody solve it!
1 votes
1 votes
2 answers
4
himgta asked Jul 31, 2018
2,013 views
Consider the following CFG.S → aSa | bSb | a | b | εFor the above CFG, the total number of strings generated whose length is less than or equal to 8 [exclude the empty...