MSQ · 2 marks · Context Free Languages

GATE CS 2022 CS — Q47

Consider the following languages:

L1={anwan∣w∈{a,b}∗}L_1 = \{a^nwa^n \mid w \in \{a, b\}^*\}
L2={wxwR∣w,x∈{a,b}∗,∣w∣,∣x∣>0}L_2 = \{wxw^R \mid w, x \in \{a, b\}^*, |w|, |x| > 0\}

Note that wRw^R is the reversal of the string ww. Which of the following is/are TRUE?
Select all correct options