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 like your CompareTo method :)
Thank you for your kind words! I'm glad you liked it.
-- deleted
Hi albmaso. This example is explained in kata description. You have to imagine a strap wound around a wooden stick. Stick has (in this case) 6 sides. Space behind K indicates that after last a (in word Kata), there is no character.
There's a C# translation: https://www.codewars.com/kumite/57ee9e116c8df7e549000021?sel=57ee9e116c8df7e549000021
OK, it is resolved. Thanks.
Yeah :) I finally found the solution... I had to rotate the graph, and adjust it a bit... thanks for the hints, I guess it was my understanding of the description that lead me to the troubles. Really nice one, this kata! It was a lot of fun!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
... and since I marked my previous comment as having spoiler, now I'm unable to see it (since I haven't solved this kata yet). Please answer it without spoiler tag ;)
This comment is hidden because it contains spoiler information about the solution
I'm markingver issue as resolved.
My bad, I apologise. I added it to test cases and should be fine now.
I suggest adding to the description that even if two (or more) letters in a row are the same, rule is still met. For example: poll would be 'IN REVERSE ORDER'. I wonder what would be the right return value, if input would be 'aaa' for example. I suppose both in order and reverse should be correct.
For the C# translation, there are 3 different names for the same function: Eval_likes in description text, LikesCountAboveFivePercents in initial code and EvalLikes in tests. Please, make them the same (EvalLikes as in tests, or current submissions will fail). Some random tests would also be good.
Loading more items...