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.
removeNIndexedFromArray part doing this, for example:
it accept arr = [3,5,7,9,11,13,15,17,19,21,23,25] as first parameter, and returns this array [5,7,11,13,17,19,23,25] as result. Looks like second argument is redundad, because it's always equal to arr[0].
It will return an array with filtered every n-th indexed element.
exactly what i was trying to do!!
just couldnt figure out the "removeNIndexedFromArray" part ...