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.
Your code fails for cases like
signature = [2, 0, 1]
andn = 2
. The expected result should be[2, 0]
but your code returns[2, 0, 1]
Read this instruction carefully -->
returns the first n elements - signature included of the so seeded sequence.
This comment is hidden because it contains spoiler information about the solution
Yeah me too, or at least another kata which was basically the same.