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 generator function is not already defined as the description mentions.
Unfortuantly I saw that right after I submitted the feedback, I am rather new to the site and I have no clue how to edit the post (heck, I didn't know how to see my comment until after I got a notification about your reply). Either way I think the question would be better if the team size was not fixed, in general I find it best not to make solutions only work for arbitrary limits.
The acceptance test cases always have the same number of players, there should be some variety there as the problem does not explicitly state team size.
People should be punished for making assumptions about the size of the team and that he team 2 anchor will be index 4 of the second array.