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.
Trying C++, having a problem with random cases.
You can verify that the actual results are triples satisfying the requirements ;-)
How can the expected result be '[]' ??
Scala assertion messages are unreadable.
Please provide formatted assertions for kata like this, especially white ones.
Since durations are
integers
, the result is a fraction and could be returned as aFraction
instance instead of percentage float.Very nice Kata btw.
This comment is hidden because it contains spoiler information about the solution
Hi,
What's the point with the link in the description? (see the comment in my solution, also)
This leads to a very poor kata, imo.
If you decide to keep it, removing that info, tell me so that I remove all the rank suggestions.
Cheers
Sample tests are significantly harder than actual submit tests, running in about 10s for the solution everyone is using whilst submit tests only take 2-3s.
Hi,
Looking at some of the current solutions, I have a feeling that there are no (or not enough) cases like
Q..x.y.
, where the y piece is hidden by the x one. Using various strategies like swapping the board, or the pieces, you should be able to catch most of the implementations that do not consider this (ie: that could catch y instead of x)Cheers
Now let's create a kata for
B
... oh, waitThis comment is hidden because it contains spoiler information about the solution
This comment has been reported as abusive
( JS )
Random tests runtimes vary wildly. Try to generate more consistently distributed sizes.
This comment is hidden because it contains spoiler information about the solution
I got different results in my local IDE and on Codewars using the same inputs and code. Did I overlook something here?
This comment is hidden because it contains spoiler information about the solution
It might be a good idea to change the expected output from bad values of
n
from empty collections toNone
/null
/Option
(I think?) in Python/JS/Java for future maintainability reasons. Should be possible to preserve old solutions as well.Loading more items...