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.
One of the test cases that you fail on is
is_merge('codewars', 'code', 'wasr')
. Your code returnsTrue
, but should beFalse
.If you try to put these strings on top of each other like in the description, you'll see that it's not possible. By using sort, you lose all information about order.
Let me know if you need more nudges in the right direction.
Happy coding! :-)