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.
Lua translation!
Haskell translation
Scala translation
C# Translation (straightforward 1-1 to my earlier c++ translation).
This comment is hidden because it contains spoiler information about the solution
C translation
Python translation
Python translation, please review.
JS tests. In the fixed tests, this block:
should be replaced by:
(Testing sin and cos, and changing the value for sin.)
My implementation returns the 1.000.000th element of the sequence in about 400ms. Why do the tests time out?
This comment is hidden because it contains spoiler information about the solution
Sorry, I beat you to it. (Duplicate)
This comment is hidden because it contains spoiler information about the solution
Very nice one!
It seems that the value of n can be easily cranked up to 5 * 10^6...
module
name is mispelt, everywhere.Loading more items...