Phase 2Days 8-13

STL Foundations & Problem-Solving Reflex

Become fluent with the containers and algorithms you will reuse for the entire course

Phase Goal

Turn the standard library into muscle memory and build the reflex of translating a statement into clean code.

Progress

Day 8: pair, tuple, references & iterators

Day 9: vector mastery + the <algorithm> staples

Day 10: Ordered containers — set, multiset & map

Day 11: Hashing — unordered_set & unordered_map

Day 12: Basic number crunching for problems

Day 13: Simulation & pattern problems (the translation reflex)

Phase Complete!

After this phase, you'll be able to:

  • pair, tuple, references & iterators
  • vector mastery + the <algorithm> staples
  • Ordered containers — set, multiset & map
  • Hashing — unordered_set & unordered_map
  • Basic number crunching for problems
  • Simulation & pattern problems (the translation reflex)

After Phase 2, explain a core invariant, reconstruct a solution after a delay, diagnose a bug, and solve one unlabelled variation. Repair a failed prerequisite before advancing; record help separately from independent work.