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.
ou may gad where is the method argument
Approved
python new test framework is required. updated in this fork
Ruby 3.0 should be enabled.
That's right, the output for that input should be
'A3(ywhCMR/GfKl.YLC5z8aOYO7T,.F2p@6AgqJP/rIHe/;@B*vyry7.lP<D:Kt5Z+W@.m1XuUDo4w9Thxb4/aw*:Y?C,Nf(aXb;:kXv'
. Is that not what the random test is showing?"If the strings are different lengths the function should interlace them until each string runs out, continuing to add characters from the remaining strings."
^The instructions say the above. Consequently, for this test case:
["AY2e7tm4xw", "3Lp/.51wbC(", "(C@;", "y56@l", "wzA", "h8gBPZX94:,a;", "Caq", "MOJ", "RYP", "/O/v<+uT/YNX:Xv", "G7", "fTryDWUha?fbk", "K,Ir:@D", "l.", ".FHyK.o"]
the output shouldn't be "A3(ywhCMR/GfKl." right? It should continue until each string is empty...at least that's my understanding
This comment is hidden because it contains spoiler information about the solution
Thanks, approved!
Crystal and Ruby translations awaiting :)
That looks good!
It's even modification proof - user gets a copy of the input set - though I'm not completely sure that's intentional or just a happy byproduct. :P It's good form though, kata authors all too often fall into that trap. :]
Done (I think — new to random testing). How does that look?
Nice kata. Needs random test cases though.