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.
Description is unclear. It seems like every function starts from blank and creates an array with second argument as a string value.
This comment is hidden because it contains spoiler information about the solution
I think you can edit the example - so it doesn't look like output data should be '1, 2, 4.....'.
When you read description briefly - like in my case - this is causing confusion.
got it sorted now.
Thanks a lot :)
When you remove element from the beginning (or from the middle) every element on the right is shifted to the left by one.
Then you continue your loop but all the indexes on the right are messed up.
Try starting from the right side.
Can't really see where and if my solution is wrong...
I'm getting : 'Expected: 0, instead got: 0'