AlgoFrames

Which language is this?

Warm-up · Multiple choice · about 3 min

The DFA below reads strings of a and b. S is the start state and F is the only accept state. Which set of strings does it accept?

Example 1

Input:

{}

Output:

?

Constraints

  • Pick one option.

Learn the idea first: Finite automata: DFA and NFA, a visual lesson.

More Finite automata: DFA and NFA problems