Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2026/ii/paper-1/12i/c/i/solution

This language is context-free. One grammar is
which independently chooses at least one outer pair and at least one .

New to topics? Read the docs here!