• + 1 comment

    Question is not clear. Can anyone explain question with example. like why in 2nd example BAABBB is not a valid string ??