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.
This comment is hidden because it contains spoiler information about the solution
Totaly my bad @bkaes .. I don't know honestly what I was thinking when typed this .. closing my issue now .. so sorry for wasting your time !!
Which language? Also note that the
n
in your example is a lot smaller than the actual array size.Some random tests doesn't seem to be accurate.. If I didn't missunderstood the kata asks for an empty array response if n > arr.size but the tests expect an array with lots of numbers.
Description quote: "If n is greater than the length of the array/list, return an empty list/array"
One example: n => 105 ; arr.size => 734
Seems like tests are still broken:
Testig for Anri
It should work for random inputs too - Expected: "Anri and likes this like this", instead got: "Anri likes this"
Testig for Brian J. Mason
It should work for random inputs too - Expected: "Brian J. Mason and likes this like this", instead got: "Brian J. Mason likes this"
Testig for Leon McNichol, Quincy Rosenkreutz
It should work for random inputs too - Expected: "Leon McNichol and Quincy Rosenkreutz and like this like this", instead got: "Leon McNichol and Quincy Rosenkreutz like this"