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.
It says "It is always whites move", which I took to mean it's white's turn next.
Is this Kata based on black not having turns?
Consider this case:
White's only option is to move forward. Black then has to either move forward, or take white. In either case there's no way for White to get around the wall
What the Kata is doing is swapping every third odd value with every third even value
is there a reason why the knight isn't included?
I think this needs much clearer instructions.
When kata are based on a real-world problem I do like them to bear a good logical reality to the underlying story. I'm not sure that leaving your collection of umbrellas at the shop and expecting it to conveniently be there should you wish to pick one up next time you're there quite fits that criterion
you will need to use random numbers, usually generated by the random library. I'd suggest looking at the code for some other katas to get a feel for how it's usually done
This is going to need random rests
If this should be possible, and both absenses should be recorded in the results, then the tests need to make sure that this scenario is always covered
The random tests will sometimes contain duplicate entries in the attendance table. Can one employee be absent twice on one day?
My solution passes, but it would fail a test where the array was in ascending order
I think more random rests are needed. My solution passed 2 out of 4 submissions.
I agree, although I used them both in my solution, instead of the journal_id field.
Also the timestamps aren't used for anything
I like this Kata but I think it needs a better explanation of how the series works.
Specifically, why when the set t is { 4, 0, 2 }, the sequence would be: 0, 2, 4, 20, 22, 24, 40, 42, ... rather than 0, 2, 4, 00, 02, 04, 20, 22, 24, ...
On the Fixed Test: Cart #3, multiple items
products = [{price: 12.75, tax: 99}, {price: 99.00, tax: 12}, {price: 75.23, tax: 47}]
The result expected is
[ 3, 110.5881, 35.3581 ]
Are you sure about this? The price and the tax appear to be the values for the third item only: 75.231.47 = 110.5882; 75.230.47 = 35.3581
Loading more items...