Construct a non deterministic automaton


#1

construct a non deterministic finite automaton accepting {ab,ba}, and use it to find a deterministic automaton accepting the same set.


#2