Learn C++ STL

Lesson 8 of 9 · The Algorithms You Will Use Weekly: accumulate to nth_element

Module 14 · The Algorithms You Will Use Weekly: accumulate to nth_element

Cheat Sheet: The Weekly Algorithms on One Page

ProReading

This page is the module on one sheet, for the moment before a contest or an interview. Every line here was taught, measured or run in lessons 01 to 06; nothing is new. Print it, or keep it open beside the editor.

Checking what this lesson needs for you…

What is inside Cheat Sheet: The Weekly Algorithms on One Page

  1. Which header holds what
  2. Every algorithm, its result and its cost
  3. The type a sum is kept in
  4. Empty ranges and ties
  5. The idioms
  6. Which call, in one table
  7. The traps

Module test

Ten questions on this module. Pass at 70%, and you can take it as many times as you like.

Take the module test