Page 1 of 1

Give a context-free grammar that generates the following language (Σ = {a, b}) for (i) {w|w the length of w is odd}. (ii

Posted: Fri May 20, 2022 11:38 am
by answerhappygod
Give a context-free grammar that generates the following
language (Σ = {a, b}) for
(i) {w|w the length of w is odd}.
(ii) {w|w starts and ends with the same symbol}.