Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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.)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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 ;)"