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.
C# tests should be rewritten with logs removed
Approved
Approved
TypeScript translation
Because your code is wrong. Sample tests are just that, a sample. Final tests are more extensive. Not a kata issue. Read this: https://docs.codewars.com/training/troubleshooting
C Translation (author inactive).
Approved
Scala translation
Please add this test case. A 1 off bug allows for various solutions, thanks :-)
Clojure port gives no reasonable error message for the zero test.
If the explicit 0 wasn't mentioned all over this thread I would have considered the kata broken
Not a kata issue, comment the sample tests until you find the one your code fails with an infinite loop, read this too: https://docs.codewars.com/training/troubleshooting/#timeout
This comment is hidden because it contains spoiler information about the solution
Are there any decent haskell regex libraries available in CW? I can't find any solution with regex replacement
and "import Text.Regex (mkRegex, subRegex)" was not recognized.
This comment is hidden because it contains spoiler information about the solution
Saying "Zero alone is fine, don't worry about it. Poor guy anyway" is very misleading. I'd suggest removing "don't worry about it" because you do test for an input value of
0
and this phrase seems to hint that you don't have to consider a0
for input.Loading more items...