edited by
116 views
0 votes
0 votes
Write Regular expression for the set of string over alphabets {a, b} starting with b and ending with odd number of a’s or even number of b’s.
edited by

1 Answer

0 votes
0 votes
b(a+b)*(a^+ + (bb)^+) this can also be the answer

as we can have many expression for single language

Related questions

155
views
1 answers
1 votes
prabhath challa asked Apr 18
155 views
what will be the regular expression of this DFA using Arden's theorem
157
views
1 answers
1 votes
hasina ali asked Mar 21
157 views
Set of binary strings starting with 11 and ending with 00. E.g., 1100,1110100 ,1100100
302
views
1 answers
0 votes
utsav22222 asked Mar 15
302 views
Write regular expression for the set of strings of 0's and 1's with at most one pair of consecutive 1's.