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.
This comment is hidden because it contains spoiler information about the solution
This won't work. For example: isOpposite('aa','dd') is true.
Yes, there is a lack of tests that catch problems when you start from the end. Some of the random can do it, but the chance is not that big.
I hope I will find time to go through the tests in all the languages soon. :-)
Thanks for taking the time to nudge me! :-)
The tests do not spot naive approach as in Stein256 solution (start from the end and choose first matching part).
Example call: isMerge("ioxo", "io", "xo") should return true.
Maybe a test like this could be added.