Back to the 2023 paper

Module 3: Context-Sensitive Languages

20232m

The language {anbncn+mm,n1}\{ a^n b^n c^{n+m} \mid m, n \ge 1 \} is:

(i) regular
(ii) context-free but not regular
(iii) context-sensitive but not context-free
(iv) type 0 but not context-sensitive

Similar questions