@ Shubhanshu You sure, bro!?
@Shubhanshu Add it as answer, bro!
It means all the string that begin and end with same symbol, so the language generated will be
{0,1,00,11,000........}.
The regular expression will be
0(0+1)*0 + 1(0+1)*1
@LeenSharma @Rishabh Agrawal can 01 and 10 be a valid string?
See this ques - https://gateoverflow.in/1307/gate2009-15 and see Arjun Sir's answer!
@rahul sharma 5 Sir, can you pitch in?
see this - https://gateoverflow.in/1307/gate2009-15 and read Praveen Saini's Answer!
it resides 2 answers
1) ( 0(0+1)*1 + 1 (0+1)* 0)
2) ( 1(0+1)*1 + 0 (0+1)* 0)
64.3k questions
77.9k answers
244k comments
80.0k users