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.
I see. I changed nth to nthPick and added a few examples. Does that clear up any confusion?
nth
nthPick
Don't snake drafts act the same for larger sets as they do for smaller sets? E.g., abc...xyz, then zyx...cba, then abc...xyz and so on?
abc...xyz
zyx...cba
Are the test cases not doing that?
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.
Loading collection data...
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.
I see. I changed
nth
tonthPick
and added a few examples. Does that clear up any confusion?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?
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.