L(G) = { w E { a , b }* : w starts and ends with the same symbol } G = ?  (select all correct answers) Note: "lam" is used for "empty string".多项选择题

A

S --> a A a | b B b  A --> a A | b A | lam B --> a B | b B | lam

B

S --> a S a | b S b | a | b | lam

C

None is correct.

D

S --> a W a | b W b | a | b | lam W --> a W | b W | lam

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!