Back to the 2025 paper

Module 1: Introduction & Regular Languages

20257m

Construct an NFA that accepts all strings over the alphabet {0, 1, 2} that begin with one or more 0s, followed by an odd number of 1s, and end with any number of 2s.

Similar questions