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.
This comment is hidden because it contains spoiler information about the solution
This is a cool, solution. I am guessing i becomes n, and the iterate method returns the iterator, so it runs once and then adds the number to the array?
This comment is hidden because it contains spoiler information about the solution
The tests work fine. I really don't know how you get to pointer exceptions, when there are none... Maybe try resetting kata trainer?
If you still can't solve it, post your code here, marking it as spoiler, and with proper formatting. (link)
Hi, why are those JUnit tests not working for me?
Still showing java.lang.NullPointerException even if the answer is right.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
omg omg omg, now I now how it's working :D
Big THX Chrono79 ;)
That's because there are no sample tests (for java and for other languages too).
Everytime I hit "Run sample tests" button I got:
Server Execution Error:
Failed to detect class name:
// no tests needed
Request Error:
Request failed with status code 422
This error was caused due to an issue processing the web request, not because of an issue executing your code. You can retry the request.
as an output. Two days in a row.
Then I got angry and hit the Attempt button and guess what.. I passed :)