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.
Thank you, worked!
This comment is hidden because it contains spoiler information about the solution
Thanks! Will try again
JavaScript
Hi! My preliminary test gets green but then stops with this message:
expected [ [ 1, 4, 1, 4 ], [ 2, 5, 2, 5 ], [ 3, 6, 3, 6 ] ] to deeply equal [ [ 1, 4, 7 ], [ 2, 5, 8 ], [ 3, 6, 9 ] ]
I don't understand why should I have to mutate the values as it's not required in the instructions. Also I am testing with strings e.g. 'a', 'b', 'c' etc. and it works perfectly. I understand I just need rebuild the rows replacing the positions and changing lengths. Maybe this kata lacks in more detailed instructions? I'm trying to trunckate redundant numbers from the input rows... Any help is welcome :)
My code' output too is 4 years, 68 days, 3 hours and 4 minutes
This comment is hidden because it contains spoiler information about the solution
Hi, why you added the 0 after 'a + b' ?
Hi! What about (a+c)b, (ab)+c for eg.? May be I don't understand the instructions...
This may help when doing sum of hundreds of items, right?
Thank you!
This comment is hidden because it contains spoiler information about the solution
Nice, short solution! However could someone clarify why n-1?