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.
To anyone that comes from javascript, *n is just the same as array destructuring
This comment is hidden because it contains spoiler information about the solution
this is brilliant...congrats
not for javascript dude. you need to deal with scientific notation due to number limits limitations of the language
in javascript it can be a 4, try it
I think it was intended just for javascript since there you need to deal with scientific notation
it's more tedious than it looks. In other languages it's extremely easy
brilliant
clever use of reduce, and really compact
using a Map did it for me...nice 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
Great Solution my friend
closures are a big big feature in javascript. They will let you return functions with prefixed parameters for example. Look at it as a function factory for that particular case
I submitted this same solution, good one
Loading more items...