$$ L = \{ a^{2n}w \mid |w| = n\},\ \Sigma=\{ a,b \} $$
My CFG: $$ S \to \epsilon\mid aaST \\ T\to a \mid b $$
My lecturer wrote this is wrong because $w$ but I don't understand why.
$$ L = \{ a^{2n}w \mid |w| = n\},\ \Sigma=\{ a,b \} $$
My CFG: $$ S \to \epsilon\mid aaST \\ T\to a \mid b $$
My lecturer wrote this is wrong because $w$ but I don't understand why.
Copyright © 2021 JogjaFile Inc.