Back to the 2023 paper

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

20237m

Construct NPDA for the grammar:

SαABBαAAAαBBαBbBBA S \to \alpha ABB \mid \alpha AA \\ A \to \alpha BB \mid \alpha \\ B \to bBB \mid A

Similar questions