Unfortunately, this is incorrect. The following paths give the same result,S -> aSbS -> aSbASb -> ababS -> aSbS -> abSaSbS -> abab
Unfortunately, this is incorrect. The following paths give the same result,
ReplyDeleteS -> aSbS -> aSbASb -> abab
S -> aSbS -> abSaSbS -> abab