Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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
This comment is hidden because it contains spoiler information about the solution
Damn, that's smart !!!
Your solution contains UB when called with an empty string as input. Did you test your solution in your IDE with an empty string
""
?Yeah, maybe. We don't know.
Seeing your code would help tho. Or at least knowing the language.
my code keeps outputting runtime error even though when i do it on the ide, it runs instantaneously.?
Please use appropriate markdown formatting and flag your comment as a spoiler when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.
Reread the description, your solution doesn't meet one of the requirements.
This comment is hidden because it contains spoiler information about the solution
No. Actually by using toLowerCase(), you are doing alright.
You might as well use toUpperCase.
This comment is hidden because it contains spoiler information about the solution
"ignore letter case" means that when you compare two letters for equality, it does not matter what case they are. For example,
S
ands
should be treated as the same.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.
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?
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...
Look at my code, pls
Loading more items...