Let L be the language consisting of all strings of a's and b's
containing the substring abba.
a) Construct a DFA for L
b) Represent the DFA for L as regular expression
b) Show the DFA for L scanning the shortest possible word
in L.
(Hint: A substring "abba" can comes at the beginning,
middle or end of a string of a's and b's of L)
Comments
Leave a comment