Match the following based on the language accepted by using brute force method of parsing.
|
LIST - I |
LIST - II |
||
|
A. |
S → aSa | aa |
I. |
((2n * 3) - 4) ; n ≥ 1 |
|
B. |
S → aaSaa | aa |
II. |
2n ; n ≥ 1 |
|
C. |
S → aaaSaaa | aa |
III. |
((4 * 2n) - 6) ; n ≥ 1 |
|
D. |
S → aaaaSaaaa | aa |
IV. |
2n - 2 ; n ≥ 2 |
Choose the correct answer from the options given below: