mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
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. |
||
|---|---|---|
| .. | ||
| arabic | ||
| chinese | ||
| english | ||
| portuguese | ||
| russian | ||
| spanish | ||