Ad
  • Custom User Avatar

    This taught me quite a bit about writing tests. Very clever.

  • Custom User Avatar

    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.

  • Custom User Avatar

    I see. I changed nth to nthPick and added a few examples. Does that clear up any confusion?

  • Custom User Avatar

    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?

    Are the test cases not doing that?

  • Custom User Avatar

    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.