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.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/228.
Please join the discussion to help us identify duplicate kata and retire them.
Lua translation!
Either I'm seriously misunderstanding the kata, or there is something incredibly wrong with the random tests in Haskell.
0
and-2
are at the same point on a circle with circumference1
, are they not?the initial code in C should be a function definition, not a function declaration
Groovy translation
Potential duplicate of Regex for a decimal number divisible by 4
The kata there is a sentence:
"..It should find two different items in the array"
The point there is about finding different values in context of array (different indices of values, not values itself)
Description should be fixed to clarify it
JavaScript:
Class
fork fixing all
Duplicate of at least 2 other kata's about ranges. And those kata's are published, without any issues, and with added performance constraints.
Random tests are floating point numbers, but description says all numbers are integers. Btw floating point numbers are a horrible idea. How will you assess ranges that "meet" with truncation and rounding errors in floating points?
Haskell tests appear to be broken. My solution failed on the randomized tests:
Falsifiable (after 7 tests and 4 shrinks):
"aa\71319a"
expected: "a2a"
but got: "aa\71319a"
Is \71319 supposed to be a character?
This comment is hidden because it contains spoiler information about the solution
[At least python, maybe other languages]
[Python]
(Working on python version.)
Description should be langugae-agnostic
Numbers might be passed in replacement of booleans, so false may be passed in as 0 and true may be passed in as 1.
(This requirement should be removed since this is bad coding practices and not every language shares this property)Only 1 "random" test in JS is not acceptable prior to current standards
Node 18. should be enabled
Loading more items...