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.
I don't have much time but I think you have a problem when allocating a new pair.
Not an issue but a question. Something has to be wrong in your code since 93 guys passed the C kata. I tried a few solutions and all worked fine.
I have made an adjustment to the test cases. See if you get more helpful messages.
Passes everything except some of your random tests. My console.log() shows the expected answer, but it fails the test.
Having the same issue in your Scramble kata. One or two random tests failing, despite my log there also showing the correct answer.
Does your solution pass the example javascript test cases?
Test.assertEquals(longest(['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'k'],1),'a');
Test.assertEquals(longest(['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'k','l'],1),'a');
This comment is hidden because it contains spoiler information about the solution
I added "circular shift". Thanks for your feedback!
The tests are fine. Another warrior has completed the kata successfully. The kata is a bit tricky. I have added another 2 example test cases. If your solution passes those two tests, then it will most likely pass the final ones.
But what if not circular?
Ah good call. This should be fixed now. Thank you!
Thanks, added one more test, correct description