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.
Convoluted explanation. This is an 'unshift', not a 'push'. And with linked list, 'add' makes more sense.
How can someone know this?
This test: calculator(11, 15, 2).
How can the bus win in this case?
walkTime = 11/5 = 2.2;
busTime = 15/8 + 2/5 = 2.275;
Very clever. But can you explain, how you get this formula?
Can you explain this regex? /#1 (.+)\s/
So as far as I understand, the problem looks something like this
Step|Hands
1 | 1 0 0
2 | 2 0 0
3 | 0 1 0
4 | 1 2 0
5 | 2 0 1
6 | 0 1 2
7 | 1 2 3
Why is the 6th step in the example equal [0, 2, 0]?
Is this slower than a for loop?
If only German could be this easy...
We tried. But obviously not hard enough.
A hint about playing around with the built-in methods of Object would be nice