Can Some One Shower Some hints for the following question?
Question: https://www.codechef.com/COOK101A/problems/YVSTR
Only substrings of form aaa or aabbb needs to be considered
2 Likes
Nope ,“aabaa” has a subsequence “aaaa” but not a substring …
Yeah, you’re right. I completely overlooked that.