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
Another great problem from dinglemouse! Easier than the tennis one.
In Python the names of the batsmen are a string, not a list. Probably the description should be modified to reflect this.
Beautifully done - thanks!
I do agree with some of the other posts here that more sample tests would be helpful.
For tennis fans, it might be worth adding to the description a mention of this easier problem: Give the status of the tennis game
Haskell translation
You can show user solution as well for easy debugging.
Python and potentially other languages: description should be in
snake_case
.Ruby version kunited, please check and approve
Very nice problem - thanks!
One question: Why do Python solutions need to deal with the mysterious Dinglemouse object? Why not just define a function with parameters queues and capacity, as in the other languages? That's how I wrote the code in my IDE, only to discover that I needed to insert self. everywhere to make it work.
Now do a beer pong kata!
Hello everyone!
Can somebody please explain me this example:
I see here
5
ants,2
are alive and3
are dead, however testcase expects other resultPS: Used language, Java
C#
Is it broken?
Test fail messages don't make any sense. Even when I deliberately return the expected set - the test still fails
as already stated in this thread, the C++ translation preloading very slow (8.5-9.5 secs), its impossible to solve the problem using regex, and Im not sure yet that there is any other way to crack this task
python translation
This comment is hidden because it contains spoiler information about the solution
Rust translation
Loading more items...