2 ms·
Coincidentally, I've always found finding the maximum or minimum of a list with a for loop really finicky. It's much easier with a fold.
by tikhonj 15y ago
Coincidentally, I've always found finding the maximum or minimum of a list with a for loop really finicky. It's much easier with a fold.