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.
I suspect this is why 12157692622039623539 wasn't included:
Javascript numbers just don't go that high, you'd need to use strings instead (which still wouldn't satisfy this kata because it tests for numbers).
This comment is hidden because it contains spoiler information about the solution
Yeah, but if the author were to add an if statement which started calculating only if the top of the range was very high, they could keep the advantage of speed whilst making their solution general purpose.
This comment is hidden because it contains spoiler information about the solution
I think it is up to you. The link is for better explanation.