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.
It looks to be broke. No matter what your method returns, it's just returning: Test didn't pass: Unknown error
I have tried the function in plunker though and it appears to be working fine.
I think there is a problem with test cases written for this Kata. When second parameter "n" value is passed as 0, it should not expect an array with 1 value. I think the response array length should always match this parameter value and in case of 0, it should be an empty array. I had to write code for this special condition, which does not make any sense.