Learn C++ STL

Lesson 8 of 9 · The STL in Competitive Programming: Which Container for Which Problem

Module 16 · The STL in Competitive Programming: Which Container for Which Problem

STL in CP: the Container and Pattern Cost Sheet

ProReading

Keep this page beside a problem statement. Read its largest limits first. Then find the operation you repeat, rather than the container name you remember.

Checking what this lesson needs for you…

What is inside STL in CP: the Container and Pattern Cost Sheet

  1. Container costs on one page
  2. Pattern costs and conditions

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