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.
in my case i had to replace "\n" (new line) in Java at the beginning of the string.
That means you failed the next test. So look into that one instead :)
You will need to optimise your code. For example, what is the big O lookup time for a C# List? Are there faster implementations?
I believe there's something wrong in C# - when I test my solution (run sample tests button), it passes, but when I try to solve kata (attempt button) I got timeout on first test - FourNodesWithLoopSize3. It finds loop correctly - it enters to if nicely, shows "3" as expected and it doesn't go any further, but for some reason I got timeout. Hardcoding "return 3" inside of the loop returns the same result.
This comment is hidden because it contains spoiler information about the solution
Make sure you deal properly with extra spaces at the beginning and end of the output.
I believe that the last test in C++ is broken. It shows:
Expected: equal to SOS! THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.
Actual: SOS! THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.
and input string clearly starts with SOS.