Non-deterministic finite automaton

w =   F =




NFA
01
> aaba
 bcϕ
* cϕϕ
DFA
01
> qpq
 psq
* ssq