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.
Java:
Strongly suggest to revamp the test suite to just use
String[]
which uses natural ordering as the sorting criteria (lexicographically ordering) , same as C# , TS and other strongly typed languagesfor good practice, the description should mention that a stable sort is expected
better instructions should be,
C translation, somewhat patched up, moved from duplicate kata JavaScript Array Filter. Please review.
Randomized testing in Haskell (and maybe other languages) can result in the following:
The description lacks enough detail to determine sorting behavior between letters and characters whose ASCII value falls between the upper and lowercase letter ranges:
[\]^_`
This comment is hidden because it contains spoiler information about the solution
C Translation
Fortran Translation
error: could not find `Cargo.toml` in `/workspace` or any parent directory
, issue raised when try to test the code in RustFor Java's actual tests the following warning comes up:
Bro... I'm sure those kotlin random test got something wrong. In some cases it required more solutions but when I look close to the list of cards, none of them match anymore.
( definitely JS, possibly Ruby, not Kotlin )
Missing random tests
Example tests show
Seen this in other ruby katas before. Seems to be a CW issue. Don't know when the last successful submittion was, but the last comment was 3 years ago.
I have a feeling this kata is broken. Unfortunately I can't see when this was successfully solved last time but having an unresolved issue for 4 years and only one comment 2 years ago are some indicators...
The example test I get tests an
add()
function, which has nothing to do with the kata. When resetting the kata, the example test is empty. I tried writing my own tests and got a solution. Unfortunately I receive this when clickingattempt
:All tests up to that went through. Also tried debugging the input values when the function gets called, but I do not get any values indicating another failing test.
The python translation's random tests can test with zeros, but don't always, allowing solutions that don't handle zero correctly to pass. Zero inputs should be tested explicitly in the basic test cases. Fix
Loading more items...