You are viewing a single comment's thread. Return to all comments →
It actually iterates through the list 4 times in total. map, sum, max and min all iterate once through the list.
map
sum
max
min
Seems like cookies are disabled on this browser, please enable them to open this website
Mini-Max Sum
You are viewing a single comment's thread. Return to all comments →
It actually iterates through the list 4 times in total.
map
,sum
,max
andmin
all iterate once through the list.