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.
a.remove(i) will only remove the first matching element.
a = [1,2,2] so when b = [2], a will result in [1,2].
a should result in [1].
Yes! Thank You! I try and forgot delete some peace of code in test-box
This is not readily apparent from the description, but you DO NOT have to return the original array, a. You can instead return a NEW array. Makes possible solutions much simpler.
This comment is hidden because it contains spoiler information about the solution