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.
great kata, worst description ever though
Just look at the tests. Where there are words (sequence of a-z chars) in string, make them alternate case (upper - lower - upper - etc). That's ALL. Don't even try to read this War and Peace by Tolstoy in description.
raised as issue
For those having trouble with this one; literally follow the steps provided in the description. It's laid out exactly how you should code it. I struggled with it for a while trying to use indexing before I took a step back and realized that they lay out every step, including variable and boolean assignment. Hopefully this helps anyone having issues.
Scala translation
Actual and expected are flipped in PHP
Its looks very cool
Really uggly... xD
2 Months later, I figured that the flag needs to be inverted every time there is alphabetic character.
You could've illustrated the overall task instead of describing the whole algorithm.
When should we set the flag to 0?
Ruby translation kumited :) please check and approve ~~
In the pre-defined test cases the $actual and $expected are reversed.
The definition is assertEquals(mixed $expected, mixed $actual).
This can be confusing in the error messages because the it shows the actual as the expected and vice versa.
Ohhh, it's my 1st kata where I gave up. After that 3 hours of trying I just hate it)
Loading more items...