Ad
  • Custom User Avatar

    Today got this issue in Java. However, when I attempt someone else's solution there are only 8 test inputs in "testValid()" method. Is it possible that test cases differ for different solutions? Or am I missing something here?

    P.S. Yes, my solution is a dumb one, but don't be too severe - I am new to programming :)

  • Custom User Avatar

    I'm not sure what you are referring to. I assume this is in JavaScript, since that's the solution I see. I don't see a test cases that looks like that—all the test cases on JavaScript are correct. (This is not a new Kata, it's been passed many times.)

    If this is a different language, please let us know.

  • Default User Avatar

    You can to add simple test case "()(" - is invalid, for C++. Without it, I committed invalid solution. =)

  • Custom User Avatar

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