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.
Poor description! nth pick stands for number of rounds and it also stands for the position of the element you have to return after completing the rounds!
This taught me quite a bit about writing tests. Very clever.
Thanks for letting me know. I just fixed that, and made the random tests be more random. Your solution should fail most of the tests now.
Your random tests are vulnerable to input modification.
I see. I changed
nth
tonthPick
and added a few examples. Does that clear up any confusion?The thing is that it's not very clear what
nth
means:nth
actually means something like above rather than things like "nth round".Don't snake drafts act the same for larger sets as they do for smaller sets? E.g.,
abc...xyz
, thenzyx...cba
, thenabc...xyz
and so on?Are the test cases not doing that?
I think you need to update your description on how a snake draft is formed after each round for larger sets.
For this to be any sort of challenge above very-beginner level, it needs a real challenge: something unexpected or weird that the warrior will have to deal with. In its current form, it is far too simple.