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
This comment is hidden because it contains spoiler information about the solution
Fixed
Hi, sorry for late response I didn't get any notification about this. Issues is fixed. Regards, suic
Anyoen can post under the C# translator comment or, worse case, suggest me what and where to fix it?
OH MY GOD! this is the stupidest. I was looking at my code for an hour trying to figure out what the hell was going on. Then I find out that the goddamn test screwed up and my code is fine. slightly maddening
It's not just silly, it's plain wrong. I couldn't pass this Kata until I saw your comment!
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.)
You see, I actually don't know an inkling of Haskell so I just assumed that since the provided solution and test cases passed, it would work. There are some random tests involved, maybe those give negative inputs. How would I fix that?
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 ;)"