I couldnt solve one problem in test
Where input string could be "aaabbb" or "ab" or "aaa" or &q
"aaabbb"
"ab"
"aaa"
&q