Explain how BBB is a repeated subsequence?

Question link :

If we consider the three B’s as B1,B2,B3
and the question says that AB1B2B3 is repeated subsequence with BB as the repeated subsequence, then B1B2 and B2B3 share common index of 2 in the string and B1B3 and B2B3 share a common index of 3 in the string , if they are sharing the same index in the string in one case 2 and in the other case 3 then how is it a repeated subsequence?

BBABB can be considered a repeated subsequence according to me

Please explain how ABBB is a repeated subsequence?

@deepaknike032
ABBB is a repeated sequence, because B1, B2 and B2,B3
AAB is not repeated sequence, because A1B1 and A2B1 --> B1 occurs at the same place in both the sequence which is not allowed.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.