Deterministic finite automaton and nondeterministic finite automaton for strings which ends with 00 and starts with 0 or 1




Logic

DFA Table

01
> ABA
 BCA
* CCA

NFA Table

01
> aaba
 bcϕ
* cϕϕ