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.
Clarified in description
I've just checked the description and this particular test indeed contradicted it. Reset the trainer and try your code again.
What's wrong? How should it be tweaked? Why? All tests are correct, and expect you to modify the input object.
Description updated
Not an issue
This doesn't seem like an issue with the kata, so I'm going to resolve it unless anyone offers further insights
I'll include an older comment that should help you out. You're using 2 loops, which winds up being on O(n^2) algorithm.
Well it looks to me like when list.next immediately returns false (when there's only one list item), your function never calls [].concat and therefore never creates an array.