Back to the 2020 paper

Module 2: Context-free languages and pushdown automata

20207m

Show given grammar over alphabet {a,b}\{a, b\} verify whether it is ambiguous or unambiguous:

SaabSbaAbS \to a \mid abSb \mid aAb
AbSaAAbA \to bS \mid aAAb

Similar questions