Run the DFA on 10010
Standard · Trace the algorithm · about 5 min
Run the 'ends with 01' DFA on 10010. Before each marked step, click the state the machine moves to. At the end, say whether it accepts.
Example 1
Input:
{"text":"10010"}
Output:
reject
Constraints
- The trace uses the input shown.
Learn the idea first: Finite automata: DFA and NFA, a visual lesson.
More Finite automata: DFA and NFA problems
- Accept or reject Warm-up
- Which language is this? Warm-up
- Build a DFA for "ends with 01" Standard
- NFA to DFA Standard