Re: context-free grammars (cfg) for the language



Please note your hint of {xcy | x = y, (x, y in {a, b}* } is not a
valid one; since {xcy | x = y} is not a context free language.

.