Ad
  • Default User Avatar

    did you try it?

  • Default User Avatar

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

  • Default User Avatar

    So for some reason mine shows an error when I run it on the codewars site in the test case "dabc", but when I try and run it in Eclipse the result is right, even for "dabc". I have no idea why this is happening, I've literaly copy-pasted the code from eclipse to here , I'm pretty sure I've done everything the problem wants and I still don't understand why this is happening, I mean it runs fine in Eclipse for whatever inputs I may put. Can you help me please? I can send you the code