Tutorial problems and code

Note that not all problems are implemented in each tutorial (due to time constraints), so some of these C++ files are empty.

The code provided here is not written to the standard of an official solution (as it was written live during a tutorial), nor is it designed for legibility above all else. It is the tutor’s best attempt to solve the problem as they would in a contest environment, with some explanation. Students should watch the tutorial recording for a more complete explanation, and to fully appreciate the iterative process used to compose each program.

  1. Introduction
  2. Data Structures I
  3. Dynamic Programming I
  4. Graph Algorithms
  5. Data Structures II
  6. No tutorials
  7. Shortest Paths
  8. Network Flow
  9. Mathematics
  10. Revision