-2

L is a language over {x,y,z} where x's are never preceded by y's and never followed by z's

Aastha Dahal
  • 329
  • 2
  • 11

1 Answers1

-1

DFA for language L This DFA can also be drawn using AND for two part,i.e first part is x's are never preceded by y's second part is x's are never followed by z's

Sulav Timsina
  • 703
  • 7
  • 20
  • This answer should label all non-A states as accepting, and it has an extraneous state that has no transitions into it. – Welbog Nov 09 '16 at 22:08