413 views

1 Answer

1 votes
1 votes
Prefixes are the strings which are obtained from start of the string to any position of the string

the pref(Q in R ) is bbaaaaa which is prefix of R string bbbaaaaa ---so the prefixes of bbbaaaaa

so the prefixes are b,bbba,bbbaaa

so answer is C
edited by

Related questions

0 votes
0 votes
2 answers
3
2 votes
2 votes
3 answers
4