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.
Thanks for the reply! Yep, it worked, take a look at my solution.
Good kata, however, this error is outputing in the Javascript version:
I didn't know it was possible for users to peek at the contents of preloaded code, but I probably should have known better. Anyway, I've moved the actual solution to the test suite, so now the problem is actually solved. Thanks for pointing that out.
You've seen that that's the name of my pre-loaded solution function as it appeared in a past solution of mine, I guess. Thanks for reminding me that this name was already exposed, guess I'll have to switch it, pity.
This comment is hidden because it contains spoiler information about the solution
Cool! Thanks for the feedback, glad you've liked it!
Yep; take a look at this stack exchange link:
http://math.stackexchange.com/questions/519845/modulo-of-a-negative-number
Random test cases now available for both Ruby and Javascript versions.
Cool, I've catched the error and it's been corrected.
Not exactly a duplicate; this kata asks for primes in a range, mine asks for all primes up to a number. Similar logic, yes, but not "duplicate".
Also, is this error in the Ruby or Javascript version?