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.
I'm using Ruby, and I can't get any loops to work on any of these katas. The last five I've tried, I keep getting an error unexpected end, but I'm wording the loop correctly. I can't test anything, and I can't get anything passing.
I wrote a solution that works for the first 10 tests. It fails on the 11 tests, but doesn't give any information why, just says that I'm returning "NO" when I should return "YES". Hard to fix the code with no spec.
This comment is hidden because it contains spoiler information about the solution
As with many people on here, my code is returning the correct answer according to the spec, but the expected answer in the tests is the unmodified string.
Mine too, any solution to this?