Ad
  • Default User Avatar

    You are definitely right! Thank you!

  • Default User Avatar

    You might want to avoid comparing Strings with ==, as it can fail under some situations.
    Try using string1.equals(string2) instead which is very reliable.

  • Default User Avatar

    Hi Matt,

    following your suggestion, I have found I have forgotten a console print I used to debug my code. Now it works.

    Thanks so much for your great help!

    Giacomo

  • Custom User Avatar

    as the issue states "Max Buffer reached: Too much information has been written to stdout." this means too much information has been printed to stdout, this is a restriction on codewars to the amount of info that cant be send to stdout. i would remove any prints you are sending to the console and hopefully your problem will be solved :)

  • Default User Avatar

    Hi fellow warriors,

    I have completed the program (in Java), the tests are correct, but the final outcome is incorrect. The message I get is:

    "Max Buffer reached: Too much information has been written to stdout."

    How can I manage this issue.

    Thanks upfront.

  • Custom User Avatar

    syntax error in test cases

  • Default User Avatar

    Cannot pass the single item test. Give "Ljava.lang.String;@" error. It seems a string is expected (but the method must return a String[].