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.
What is the difficulty level of this kata?..
That was a really nice kata
One small suggestion; the description states:
It left me wondering whether completing two boxes at once provided with 2 extra turns or only 1. It turns out it is the latter. Perhaps this could be mentionned ?
Not a big deal as long as edge cases for same total sales are tested
C++ translation published
In Java's sample tests (
sampleTest2
) :The assertion:
always succeeds because in
assertFailPopulate()
:the
genToLstOfMap()
(which is a tests suite function, not a user function)throws
anullPointerException
when called oninvalidGen
, andnullPointerException
is an instance ofRuntimeException
. So the assertion always succeeds and the user's code is not even called.No, you are forgetting that the blobs can move diagonally (Moore neighbourhood). The blob of size 4 at (4, 3) has 4 potential targets at a Chebyshev distance of 3:
the blob of size 2 at (2, 0), the blob of size 2 at (5, 6), the blob of size 1 at (7, 2) the blob of size 3 at (7, 0).
That last one is the chosen target because it is bigger than the others.
Java conventionally uses camelCase though, and the code examples from the description make it clear what the method name is.
IMHO the kata definitely deserves a dislike. firstly, it is meaningless, I didn’t learn anything new and the solution requires some primitive practical skills, and secondly, I had to waste time passing tests with newline character.👎
It took me 30 minutes just to understand this kata :(
Entry denied: missing required work pass.
Passport check case for Ban nations and expiry date
Above cases are not guaranteed in JS at least (should have fixed tests for that)
I completed this Kata and I must say, it really ilustrates how real life projects are done. Unfortunately, that means that it is tedious and you encounter a lot of errors that you don't know where they come from
I wrote a solution which works on IDE, but somehow on random test it have mistake, and when i try that exact problem on IDE, it works perfectly.
Implemented a deterministic solution with complexity O(n^3) in Python. Solves 70-by-70 puzzles in <10s on my laptop.
It's worth doing these kata just to see others' one-liners.
A very good and funny kata! Thanks to author!
Loading more items...