Small Problem

Screen Shot 2022-11-07 at 10.24.57 PM.png

DFAs

Designing DFAs

Example: $L=\{ w \in \{a,b\}^* ~|~ \text{the number of b's in $w$ is congruent to 2 mod 3} \}$

Screen Shot 2022-11-07 at 10.29.23 PM.png

Another example: $L = \{ w \in \{a, b\}^* ~|~ \text{$w$ contains $aa$ as a substring} \}$

Screen Shot 2022-11-07 at 10.30.05 PM.png