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 Translation
Fixed tests allow my solution, where
Rest
is, I think, not what was intended, but works because the tests happen to work for it.No random tests.
Fixed tests are overly limited, simplistic, and pass correct solutions instead of trying to break incorrect ones.
defaultExample(3,7) -> 10
should have any argument but7
in second place.restExample
should have tests with the second argument not accidentally always the correct length.spreadExample(...[1,2,3])
is literally justspreadExample(1,2,3)
( except less efficient ). Those tests should have a varying number of arguments.D translation moved from duplicate kata Get number from string.
Lua translation!
Good challenge, but the description is not very clear. Here's how I think it could be rewritten:
Presented below is a schema relating toys to a toy factory.
Table "toy_factory"
Table "toys"
Write a query that returns all the fields in
toy_factory
, counts the number of toys each factory has made (return the column as 'toy_count'), and groups these counts by the corresponding factory.Python:
debugging
taginfo
in Python and not getInfo).This comment is hidden because it contains spoiler information about the solution
why does it not matter when you count using the id or name column in the toys table?
Go Translation!
python translation waiting for approval, please
https://www.codewars.com/kumite/662d7f5de681a65fde6aefc7?sel=662d7f5de681a65fde6aefc7
Hey, I think the Rust's tests are broken.
I can't pass this:
tests::do_not_use_bigint
Even if I do not import any library.
python new test framework is required. updated in this fork
This comment is hidden because it contains spoiler information about the solution
For future readers, the kara requires the median be interpolated
Also would be really nice if the kara included that in the description
Other than that it's a nice kara but I don't see how it would be a 5 kyu one
I'm finding these questions confusing to solve without any examples or even fields types specified for each table.
Spending too much time in imaginging the table records only lol.
Loading more items...