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.
This comment is hidden because it contains spoiler information about the solution
Duplicate with http://www.codewars.com/kata/521c2db8ddc89b9b7a0000c1
There are not enough test cases:
What about the order of the output?
For the test case provided, my solution returns
[None, 1, 2, 3, 'foo', 'bar']
instead of
[None, 1, 2, 3, 'bar', 'foo']
Shouldn't it pass as well?