Back to the 2021 paper

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

202114m

Using the CYK algorithm, determine whether baaba is in L(G)L(G) for the grammar:

S → AB | BC
A → BA | a
B → CC | b
C → AB | a

Similar questions