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
Well I just learned a new method. Very clean solution!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The Ruby translation seems to have a syntax error in the tests:
What's the purpose of having @output? I thought that was used for class variables.
In Ruby, I seem to have to create an alias for my function called
Prime
before the random tests will run.This comment is hidden because it contains spoiler information about the solution
Using line breaks and variables will make your code infinitely more readable.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Work harder, not smarter :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
eval
should never be used on raw data. It is extremely unsafe and can lead to execution of whatever data the user inputs, if this is later expanded to include input.Loading more items...