4 4 votes CONSIDER A DFA OVER $\Sigma=\{a, b\}$ THAT ACCEPTS A STRING $w$ IF AND ONLY IF $w$ CONTAINS THE SUBSTRING "ab" AND DOES NOT CONTAIN THE SUBSTRING "ba".WHAT IS THE MINIMUM NUMBER OF STATES THAT THIS DFA WILL HAVE?$3$ $4$ $5$ $6$ Theory of Computation goclasses theory-of-computation goclasses-cs-dpp goclasses-cs-dpp-day-127 goclasses-toc-practice-questions + – GO Classes 456 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
2 2 votes Here is the min dfa for the problem GO Classes answered Nov 8, 2025 GO Classes comment Share Follow See all 2 Comments 2 2 Comments reply hrupam commented Nov 9, 2025 reply Follow flag The language is a+b+, correct ? 1 1 replyShare Vinayagam S commented Mar 14 reply Follow flag a+b+ 1 1 replyShare Please log in or register to add a comment.
0 0 votes Ans will be 4 𝓗𝓮𝓲𝓼𝓮𝓷𝓫𝓮𝓻𝓰 answered Nov 8, 2025 𝓗𝓮𝓲𝓼𝓮𝓷𝓫𝓮𝓻𝓰 comment Share Follow 0 reply Please log in or register to add a comment.