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.
Print something besides the input value, that's not the input of the test your code is failing. BTW I moved the test you're failing to the first group, because it expects
true
.You're passing only the first 2 tests, but there are more hidden tests when you hit 'Attempt'.
Are you returning
nil
for empty array ? It should be []Also plz reply to your previous post, don't create new ones.
Read these logs as: expected some array (your output) to equal expected output.
Clearly, your output isn't sorted.