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.
spoiler flag...! x/
This comment is hidden because it contains spoiler information about the solution
Had a hard time with this yesterday, but when I woke up 5min ago I just got the solution...the green submit button have never been sweeter before:DDD Proper kata, requires great understanding and refactoring. VERY :)
worth to put str.length()-4 into a variable for better performance
awesome!
Fun kata, thanks! :D
Nice kata, thanks!
my poor brain,cant do this
Could you tell me what is happening here? I can't wrap my head around this. Thx in advance.
You should return
[4, 2]
in both cases, so it really doesn't matter.0, 2 is the earlier pair because 0 comes before 1.
This comment is hidden because it contains spoiler information about the solution
Please be aware of clean code. Pretty hard to understand single letter variables, even for you. Try to use better variable names.
Thank you for this kata, my solution might be not that fancy, but it was an awesome task with the performance issue. Very satisfied! =)
Spent my afternoon with this fun kata, totally worth the time! Thank you!!
Loading more items...