Back to the 2021 paper

Module 2: Context-Free Languages (CFL) and PDA

20217m

Construct a PDA that accepts:

L={uawb:u,w{a,b},  u=w} L = \{ u a w b : u,w \in \{a,b\}^*,\; |u| = |w| \}

Similar questions