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.
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.
I have tried serveral different solutions and I am having the same problem.
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;}.
I am having the same issue. I don't know if I am reading it wrong.
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?
This comment is hidden because it contains spoiler information about the solution