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 comment is hidden because it contains spoiler information about the solution
Can someone explain to me why converting a string to char with charAt() in java adds 48 to the resulting int?
This comment is hidden because it contains spoiler information about the solution
Haskell:
initial solution setup does not provide function signature type
Python function name should be in
snake_case
Hi! In C++ it allowed me to complete it without logical errors only with one test case:
if(sperm == "XX") {
sperm = "Congrats....female";
}
sperm = "Congrats....male";
}
So if there is input different than "XX" it will pass too. I think it will me more interesting if the test cases brings error for input different than "XX" or "XY" and it will lead to use of "else if". Cheers!
Actual and expected are swapped in C#
This comment is hidden because it contains spoiler information about the solution
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/176.
Please join the discussion to help us identify duplicate kata and retire them.
I think the test case should also test if the original array has been altered or not. Saw someone saying that it's not a best practice to alter the array directly and the highest vote for best practice did altered the original array.
D translation
C# fork to add random tests (author of fork and author of kata inactive)
This comment is hidden because it contains spoiler information about the solution
NASM translation
In JS & possibly other languages, array length should not be fixed to 5
Loading more items...