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.
props
does not necessarily have a fixed length of 2, your code fails to handle cases likea.b.c
Sounds like input mutation, given the number of people who have passed it, and the fact that when you test it by itself it works fine.
I am getting this error as well.
This comment is hidden because it contains spoiler information about the solution
Please post the message of the none passing test cases.
This comment is hidden because it contains spoiler information about the solution
can anyone help by letting me know what the 2 test cases for bases jammed and 3 outs home team at bat are testing for? I've ran through multiple cases of output and I'm really stuck on where my error may be.
Yes! Thank you!
Because no new issues about the ruby test have been reported, I mark that issue as resolved.
Too few:
code
andwar
can't be merged tocodewars
because there are not enough characters in the parts.To many (extra):
code
andwarsx
can't be merged tocodewars
because there is an extrax
that isn't used.All characters of the parts should be used and they should form the entire target to be considered a valid merge.
Does that answer your question?
I don't exactly get what you are looking for in terms of the conditions for too few characters and extra characters. Can someone please clarify?
This is because you are using inefficient algorithm, guys. Try to find an algo that will manage the task within 6 seconds.
Just tested in JS. Ran on repl and all my tests came out correct but cannot pass the test cases.
Trying this in js. Some random test cases are not passing when it should be.