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.
Although I pass all the randomTest, it returns a java.lang.StringIndexOutOfBoundsException: begin 0, end 5, length 0
Can anybody explain me why?
I really struggled to find the solution for this kata, but I have learnt a lot (and also got the 6 kyu) :).
If I can give a piece of advice for people who doesn't know how to face this kata, Prime numbers can help a lot.