|
|
|
|
|
by jen20
1607 days ago
|
|
Conversely if I saw someone use a for loop (especially one with mutation) where a trivial usage higher order function existed, and I was giving a “leetcode” interview (which I refuse to do), I would take it as a signal that there is an important missing concept if it were not corrected when prompted. The idea that “reduce” is language specific is frankly mind boggling. It’s no more language specific than a loop. |
|