Review the vending machine example
Basic transitions on N (nickel), D (dime), B (Butterfinger), and S (Snickers).
Add transitions to cover all symbols for each state.
Algorithm and examples.
This is exactly the question answered by grinch
! And many important practical applications beyond autograding, e.g., efficient implementation of grep
:)
Definition and examples.
The smallest DFA that accepts the same language.