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.
Hi, the first tests on this array are done once asking for the 1st floor (which should return the 6 names), then for the 2nd floor (which should return no names).
So once your function has to return all six names (
floor == 1
), then none (floor == 2
)My test result was
I find this funny...
I am really having a hard time understanding what is required.
I try to read the test to understand what is being asekd.
If I look at the given test data
I see that there are six items in the array, therefore the first floor should be this array exactly, but that doesn't seem to be the desired result.
Could someone pleae explain, I think I am missins something vital in the instruction.