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.
Perhaps this will be useful to someone: if you think that in addition to the final value, you are also required to have the initial value, think again.
man. someone else always came up with such elegant solutions.
im learning a lot of math doing these types of kata's. I liked this one it made me think.
hehe, needed this after the previous one i did ;-;
This comment is hidden because it contains spoiler information about the solution
The error message format is:
your answer should equal expected answer
none of those two values is the input.Erm some of these tests are a bit wrong, I think.
-287575764675 should equal 95858588225
How? Shouldn't -287575764675 equal 287575764675?!
The description of the problem contains a link to Wikipedia with a ready-made solution to the problem.
Method is missing the argument definition at the top in Ruby.
Ah that makes perfect sense! Thanks!
This comment is hidden because it contains spoiler information about the solution
Could someone explain why this works? I don't understand. I used the abs() function, but this is so simple and sleek
damn
some interesting solutions here!
Thank you
Loading more items...