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.
The positions in the array.
This comment is hidden because it contains spoiler information about the solution
i too feel the same in the past, just come back when you gain more knowledge in your particular language (assuming it's JS
"array" in the reduce statement is the starting value. If you were summing array elements with the reduce statement this value would (usually) be 0.
The 'a' equates to "array" so the effect of each iteration is to replace (return) array with the next level down in the array, as you progress through each one of the 'indexes' values.