How many strings of length less than 4 contains the language described by the regular expression (x+y)*y(a+ab)*?
(a) 7
(b) 10
(c) 12
(d) 11
This question was posed to me during an online exam.
This intriguing question comes from Regular Grammar topic in division Contextfree Grammar and Syntax Analysis of Compiler