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.
Please post the message of the none passing test cases.
This comment is hidden because it contains spoiler information about the solution
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?