Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
That means the input consists of only lowercase letters.
Based on the description:
... a "bad" control string is produced e.g. aaaxbbbbyyhwawiwjjjwwm with letters not from a to m.
Then a test case with input
"aaabbbAAABBBcccCCC"
should expect"9/18"
, and fits with the existing description.Maybe the description should specify
... with lowercase letters not from a to m.
?Otherwise, a truly valid soltion should be able to handle uppercase letters being in the control string as well.
And invalidate almost 83k solutions? No, too late.