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
I would assume that you can use absolute value to get all inputs to be possitive. But it might be a better idea to get in touch with the original creator of the haskell part. (I am a beginner myself, so I'm not sure if i would be of any help.)
This comment is hidden because it contains spoiler information about the solution
This is relevant in C#. Don't know about other languages.
Can we just make it clear, that an empty array in this kata means {0} not {}, which is kind of silly.
Quote from instructions:
"if n==0, then return an empty array and be ready for anything else which is not clearly specified ;)"