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}.
Give a context-free grammar that generates the following language (Σ = {a, b}) for (i) {w|w the length of w is odd}. (ii
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am