Accept or reject
Warm-up · Predict the result · about 3 min
This DFA reads binary strings. E is the start state and the only accept state. Run it on the tape 10110.
Does it accept or reject?
Example 1
Input:
{"text":"10110"}
Output:
?
Constraints
- Answer accept or reject.
Learn the idea first: Finite automata: DFA and NFA, a visual lesson.
More Finite automata: DFA and NFA problems
- Which language is this? Warm-up
- Build a DFA for "ends with 01" Standard
- NFA to DFA Standard
- Run the DFA on 10010 Standard