393 views
1 votes
1 votes
What is the regular expression for sigma = {0,1} where each string has odd 0's.

 

Which one is correct?

A) 1*0(1*01*01*)*

B)  1*01*(1*01*01*)*

1 Answer

1 votes
1 votes
B is correct because we cant generate any string 1011 from A , but we can make it from B