3 ms·
You could also say -n if you didn't want to say abs. I found the problem confusing because of how it was written. Also, unless I'm mistaken, you can lose the "
by spicyj 14y ago
You could also say -n if you didn't want to say abs. I found the problem confusing because of how it was written.
Also, unless I'm mistaken, you can lose the "if (n === 0)" case completely.