(A) 3
(B) 4
(C) 5
(D)6.
Answer©
Explanation.
There is no
polynomial time algo to find minimum number of states.
L1={aba} when
n=0.
{abab} when
n=1.
{ababb} when
n=2.
L2={ab} when n=0
{aba} when n=1
{abaa} when n=2
{abaaa} when
n=3.
L1union L2={ab,aba,abab,abaa,ababb,abaaa-----}.
ab(a+b)*
Hence 5 states.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.