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.
I agree wholeheartedly. Nevertheless, the satisfaction rating is 54/116. It must be a puzzle and not an algo kata.
A recent update has been published which fixes this issue ^^
if the input is negative, won't this add an extra instruction?
Yeterince kısa ve öz, Tebrikler.
Please clarify the description:
"... when they are an exact match, and appending the second string to the first if they are not.
NOTE: The strings may be empty."
Because these cases are not really clear from the given examples.
Thank you!
Accepted.
Python translation: https://www.codewars.com/kumite/64039fef90c4da004b93a824?sel=64039fef90c4da004b93a824
Since I'm probably abandoning codewars anyways I unpublished it and leave it at that.
Random tests often expect clearly incorrect values where the result doesn't sum up to
amount
:Please do not just post chatGPT explanations here. It's basically just the code in plain text and should at least have the spoiler flag.
Actually it seems solutions can hit a division by 0 error, too. But only in random tests which allowed some solutions to pass even if they would not work when certain values are 0.
Actually it depends on luck if there is 0 happening. Tests should be updated.
Does this Kata have a integer overflow problem in the random tests (in C#)? The negative numbers from the 2 years old issue below seams to indicate the same issue (with a different symptom).
System.OverflowException : Value was either too large or too small for an Int32.
'650 ...' should equal '65 ...' are clearly different. I think your code needs some work.
Those strings seem not to be the same. So you are not passing the tests.
Loading more items...