Module 11 · Iterators: The Thing Between a Container and an Algorithm
Cheat Sheet: Iterators 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: Iterators on One Page
- The five categories
- The four ends on one vector
- Every operation and its cost
- Insert and stream iterators
- When an iterator stops being valid
- The eight idioms
- Which loop: the flowchart as a table
- The ten 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