0f5c28cfdf
Intermediate code solution doesn't pass tests when the greater number is even because it's the starting acc without passing the reducer function that avoids even number. Proposed solution: reverse the array before reduce. |
||
---|---|---|
.. | ||
basic-algorithm-scripting | ||
basic-data-structures | ||
basic-javascript | ||
debugging | ||
es6 | ||
functional-programming | ||
intermediate-algorithm-scripting | ||
javascript-algorithms-and-data-structures-projects | ||
object-oriented-programming | ||
regular-expressions | ||
index.md |