This comment is hidden because it contains spoiler information about the solution
If they want to complicate their lives as well.. xD
Please try to mark comments like this as spoiler because it shows up on the homepage and might spoil (part of) the answer for some people :)
Where can I keep my 9 code lines...great work!
even the "basic tests" include:
assert.deepEqual(norm(invert([])), []); assert.deepEqual(norm(invert([0])), [0]);
and the solution in question passes...
is checking for 0 really necessary, considering that multiplying by 0 always results in 0?
awesome work!
i was so confused when i didnt put the const before invert because u usally dont have too lol, i was searching for help n now i wanna kys XD it was really tht simple just the const SMH
Gorgeous!
No way
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
If they want to complicate their lives as well.. xD
Please try to mark comments like this as spoiler because it shows up on the homepage and might spoil (part of) the answer for some people :)
This comment is hidden because it contains spoiler information about the solution
Where can I keep my 9 code lines...great work!
even the "basic tests" include:
and the solution in question passes...
is checking for 0 really necessary, considering that multiplying by 0 always results in 0?
This comment is hidden because it contains spoiler information about the solution
awesome work!
i was so confused when i didnt put the const before invert because u usally dont have too lol, i was searching for help n now i wanna kys XD it was really tht simple just the const SMH
This comment is hidden because it contains spoiler information about the solution
Gorgeous!
No way
Loading more items...