What does the reduce function do in functional programming?
What does the reduce function do in functional programming? a) Increases the size of a list b) Transforms a list into a single value by applying a function cumulatively c) Sorts elements in ascending order d) Maps elements to their index Answer: b) Transforms a list into a single value by applying a function cumulatively […]
What does the reduce function do in functional programming? Read More »