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.
owiaxujylentrklctozmymu
-> 23 letters11 + 23 > 23 + 10
The test is really this one:
testing(longest_consec(["wlwsasphmxx","owiaxujylentrklctozmymu","wpgozvxxiu"], 2), "wlwsasphmxxowiaxujylentrklctozmymu")
Where did you get that other one?
You can see the answer is right, because:
wlwsasphmxx
-> 11 letterswpgozvxxiu
-> 10 lettersNo problem with the test.
Thanks omegahm.
I have submitted and republished a fixed version. The old one didn't check, if the characters were outside of A-Z and a-z.
Other versions of this kata haven't that problem, that's why you should mention which one to check, so we don't need to guess or check all. I can confirm the problem exists in Ruby. Other languages use a=1 to z=26, that should be the behaviour of Ruby version too.
When you have a problem with a kata that has several languages, remember to state which one you're having the problem with.