Need Assistance?

support@tutorialshub.in

STL Algorithms & Lambdas

std::accumulate, min_element & reverse

ADVERTISEMENT
C++ Free Lesson
5 min read
ADVERTISEMENT

Sum elements with std::accumulate (in <numeric>) and find min/max elements in one pass.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you