construct an finite automata that accepts all strings of {a,b} that contains either ab or bba, or both as substrings. give a regular expression as well.

Q&A Platform for Education
Platform Explore for Education