in Theory of Computation edited by
595 views
0 votes
0 votes
$Que-$ The minimum number of states in the $NFA$ for the regular expression $(a + a(b + aa)*b)* a(b + aa)*a$ is ______.

Approach ?
in Theory of Computation edited by
595 views

4 Comments

Ok.. Thanks @Shobhit 

0
0

@Soumya29 I first made the NFA for the smallest string that the given regular expression was accepting and then completed it as to accept the other strings also.. So I guess for the minimum no of states of a particular NFA we should see the minimum no of states required to accept the string of minimum length and then proceed with the necessary modifications.

1
1
edited by
I don’t think this DFA is correct. For example, the string ‘aaababababa’ will be accepted by this NFA whereas the language should not.
0
0

Please log in or register to answer this question.

Related questions