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.
Ah I see how that is a bit confusing now, ill change it so that its easier to understand
It says in the description it is always whites move
Should be posted under "Issues"
I know a way how get rid of all constants and still have the best performance! :P
Are you intrested?
linear or quadratic?
I somehow forgot it existed...
I mean, the original already assumed you could leave a potentially infinite pile of umbrellas at work. I think HR would schedule an awkward meeting with you at some point.
I do find it easier to think about it as "at which locations will I need to buy a new umbrella before embarking on the next leg of the trip?" rather than a magically predicted pile of initial umbrellas, but I feel that spells out the solution a bit too much. (It doesn't really address your main concern either way)
How do i make rendom tests?
jokes aside, I updated tests and description so that we can be sure that employee cannot be absent twice in one day :) thanks for the feedback!
yes, double shifts, as idiom says, "Struggling [for decent life] like a devil in a holy water basin" (Zich weren als een duivel in een wijwatervat.)
If you work double shifts, tough times ..
I have added a static test to consistently invalidate your solution. Thanks for the feedback!
It's not an increasing sequence either, but I think what you said is still reasonable. I have changed the description to "where each element is an integer composed of digits from a given set t", thanks!
And how about
0, 00, 02, 04, 2, 4, 20, 22, 24, ...
I still think you should specify that the elements in the sequence are integers, so we don't have to bother with00, 02, ..
etcI am glad that you like this kata.
Since 00 < 4,
0, 2, 4, 00, 02, 04, 20, 22, 24, ...
would not be an increasing sequence.Loading more items...