Ad
  • Custom User Avatar

    1641 completions

    There're no issues with the tests, and your solution is wrong.

  • Custom User Avatar

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

  • Custom User Avatar

    I can't valid the test.
    I have one error for 103 test.
    It's the last "Fixed test" in C.

  • Custom User Avatar

    Language? I already suggested that 3 months ago. Added a test to all languages.

  • Custom User Avatar

    My solution passed all tests and I only checked that the string began with "(" and ended with ")" and had an equal amount of each.

    If there was a test with something like "()))((()" my solution SHOULD have failed since that is not a valid order for parenthesis, but it never did.

    Shouldn't it be testing for that?

  • Custom User Avatar

    There are 12,694 solves in JS, so not an issue.
    Next time, please use markdown formatting to post your code, as it makes it a lot easier to read.

  • Custom User Avatar

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

  • Custom User Avatar

    Use print to see the input, it'll appear above the test result.

  • Custom User Avatar

    i am new to codewars .so i didnot know about spoiler thing.

    anyway thanks that you point out my mistake. :)

  • Custom User Avatar

    Not a kata issue, it's a problem with your code, it doesn't account for character multiplicity. Print the input and see why it fails.

    For example: scramble('ban', 'banana') ==> False

    Also, when posting code, mark your post as having spoiler content next time.

  • Custom User Avatar

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