Page 1 of 1

Which of the following regular expression allows strings on {a,b}* with length n where n is a multiple of 4.

Posted: Thu Jul 14, 2022 9:26 am
by answerhappygod
a) (a+b+ab+ba+aa+bb+aba+bab+abab+baba)*
b) (bbbb+aaaa)*
c) ((a+b)(a+b)(a+b)(a+b))*
d) None of the mentioned