GATE | GATE CS 1996 | Question 8

Which two of the following four regular expressions are equivalent? (ε is the empty string).
(i). (00)*(ε+0)
(ii). (00)*
(iii). 0*
(iv). 0(00)*
(A) (i) and (ii)
(B) (ii) and (iii)
(C) (i) and (iii)
(D) (iii) and (iv)


Answer: (C)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.