1,203 views

1 Answer

–2 votes
–2 votes

So as we can see we have an NFA for the given regex. Try to apply the following three algorithms to get the desired result.

  1.  Removal of $\epsilon$ moves to obtain $\epsilon$ free NFA.
  2.  NFA to DFA conversion.
  3.  DFA minimization.

Give it a try. If you are not sure with what you obtain, share it as an edit to your question.


EDIT

Here I see my approach was not really appreciated. So here is an equivalent DFA - 

P.S This isn't minimized DFA.

HTH

edited by

No related questions found