AlgoFrames

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