Ad
  • Default User Avatar

    hi, I've put the spoiler tag on your comment because anyone can see it, whether or not they have passed the kata. So: do not ever post code in this way

  • Default User Avatar

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

  • Custom User Avatar

    Damn, that's smart !!!

  • Custom User Avatar

    Your solution contains UB when called with an empty string as input. Did you test your solution in your IDE with an empty string ""?

  • Custom User Avatar

    Yeah, maybe. We don't know.

    Seeing your code would help tho. Or at least knowing the language.

  • Default User Avatar

    my code keeps outputting runtime error even though when i do it on the ide, it runs instantaneously.?

  • Custom User Avatar

    Please use appropriate markdown formatting and flag your comment as a spoiler when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.

    it's like every attempt fails lmao, idk why

    Reread the description, your solution doesn't meet one of the requirements.

  • Default User Avatar

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

  • Default User Avatar

    No. Actually by using toLowerCase(), you are doing alright.
    You might as well use toUpperCase.

  • Custom User Avatar

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

  • Custom User Avatar

    "ignore letter case" means that when you compare two letters for equality, it does not matter what case they are. For example, S and s should be treated as the same.

  • Custom User Avatar

    Because this is the specification. In this problem, words like "Anita" or "Shrimps" are not isograms.
    The same or different "unicode characters" is not really relevant. "unicode characters" is a technical thing, while "letter" is more of a language concept. Bringing technical concepts into the domain of the problem is a mistake.

  • Custom User Avatar

    Can we really ignore case in this kata. Upper case character and lowercase characters are different unicode characters. Why does he say ignore the case?

  • Custom User Avatar

    I considered the "case sensitive" part and do it that method for strings in consequence so it considers same letter and still fails for me...

  • Custom User Avatar

    Look at my code, pls

  • Loading more items...