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.
I didnt get the problem.
Please give a hint conc. "multiply"
Should
[1, 5],
[2],
[-1, -3]
be treated as
[2, 0],
[-1, -3]
?
"smallest" gives the imagination that there is some choice possible.
This would be in contrast to simple vector multiplication, right ?
I do notunderstand the instructions
Moreover:
Is this
[1, 5],
[2],
[-1, -3]
to be underrstood as:
[1, 5],
[2, 0 ],
[-1, -3]
?
multiply the contents of each nested array
appears to me like:
a1*b1 + a2 * b2 + a3 *b3...
but may as well be:
a1b1c1 + a2b2c2
....
But what menas:
the "smallest" total ?
in vector multiplication there is always a unique solution
Changed the description to explicitly say that all arrays will be non-empty.
Now it looks to me like the outer array can be empty.
I've reworded the description, is it good enough now?
It's not clear from the description if inner arrays can be empty.
^ singular "array" ^
resolved
Added to description that arrays won't be empty
Approved
Bumping translation.
Help us help you. Include the error message.
You may have been modifying the input array. That would change the value the reference solution works on, which it no longer does.
Try again.
Also, don't modify your input.
I guess there is something wrong with the test. For JavaScript I do not use method reduce or Math in my solution, but there occure error including those metods...
Python translation. Please, review and approve.
Loading more items...