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.
Not a suggestion.
Great! (That you got it, not that the description was confusing.) :-)
Then I marked the issue as resolved.
Note that the description tells you to figure it out from the test cases. The example in the description (which your code solves) is not the whole truth.
You can't assume that the characters are taken alternatingly from part 1 and 2. Here are two other examples that should return true:
Good luck! :-)
It worked now.
There was a Java translation. It is gone by accident :-( I tried to recreate it but page runs in timeout while saving. I think there is a bug in codewars page at the moment. I will re-try later. Sorry
sorry that I've been gone so long...
It's been approved.
I have translated it. But the author of the Kata hasn't been active in the past month.
So, can't say if it will be approved soon.
Thanks for the feedback!
Part of the value of not seeing all the unit tests is forcing your mind to consider other corner cases or vulnerabilities in your code.
If you really can't figure it out and are in a time crunch, add for loops to show you the function inputs, and then use that information to update your test.
Test 8 is not different from others. It's not usual in Codewars to show the tests:-(
It's up to you! Think about it.
I've written a Java translation. Just have to wait for it to be approved!