Question
What is the difference between reduce and fold?
Select an option. Your answer will be checked instantly.
Correct Answer: D. fold supplies a neutral initial value used within partitions and across results
Explanation:
The zero value must behave as an identity for correct parallel folding.
It may be applied more than once in a distributed computation.
Leave a Reply