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.
Loading collection data...
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.