Back to the 2022 paper

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

20227m

Construct a CFG for:

{0i1j2ki+j2k} \{ 0^i 1^j 2^k \mid i + j \ge 2k \}

Similar questions