Ad
  • Custom User Avatar

    I have found the problem. I was changing the original array and it didn't like that. Make a duplicate array before you start sorting it.

  • Custom User Avatar

    I have tried serveral different solutions and I am having the same problem.

  • Default User Avatar

    I am having the same issue as pshp and jesser. This is happening even when passing in a sorting function such as function sortNumber(a,b) {return a - b;}.

  • Default User Avatar

    I am having the same issue. I don't know if I am reading it wrong.

  • Custom User Avatar

    I am sure I am doing it correctly, but some of the tests are expecting the wrong results.

    For example:
    Testing for Factom,MadeSafeCoin
    ✘ It should work for random inputs too - Expected: 'MadeSafeCoin', instead got: 'Factom'

    My result is clearly correct and the expected result is wrong.
    Am I missing something?

  • Default User Avatar

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