Ad
  • Default User Avatar

    in my case i had to replace "\n" (new line) in Java at the beginning of the string.

  • Custom User Avatar

    That means you failed the next test. So look into that one instead :)

  • Custom User Avatar

    You will need to optimise your code. For example, what is the big O lookup time for a C# List? Are there faster implementations?

  • Custom User Avatar

    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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Make sure you deal properly with extra spaces at the beginning and end of the output.

  • Custom User Avatar

    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.