Module 5 · list and forward_list: When Elements Move and Positions Must Not
Cheat Sheet: list and forward_list 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: list and forward_list on One Page
- Declaring a list and a forward_list
- Every list operation and its cost
- Every forward_list operation and its cost
- The seven patterns
- The invalidation rule, in two lines
- list, vector, deque or forward_list
- The five 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