1 1 vote The number of unique strings in L((a+b)* a(b+ba)* ) of length less than four is _____ Theory of Computation theory-of-computation regular-expression + – AnilGoudar 813 views answer comment Share Follow Print See 1 comment 1 1 comment reply joshi_nitish commented Jul 2, 2017 reply Follow flag 11 ??? 0 0 replyShare Please log in or register to add a comment.
1 1 vote L= 0 => 0(No string possible) L=1 => 1 {a} L=2 => 3 {aa, ba, ab} L=3 => 7 {aaa, aba, baa, bba, bab, aab, abb} Therefore total =0+1+3+7=11 aarsy answered Jul 2, 2017 aarsy comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes 0 length 0 1 length =1 a 2 length = 3 aa,ba,ab 3 length = 7 aaa,aba,baa,aab,aba,bab total 11 Tesla! answered Jul 2, 2017 • edited Sep 16, 2017 by Tesla! Tesla! comment Share Follow See all 2 Comments 2 2 Comments reply Udit Gupta 1 commented Sep 16, 2017 reply Follow flag Bro, you cannot generate length 0 strings from this language as minimum 1 'a' has to be there. 1 1 replyShare Tesla! commented Sep 16, 2017 reply Follow flag Thanks 0 0 replyShare Please log in or register to add a comment.