Computer Olympiad Level 2: Camp 2 — Data Structures and Algorithms

Twenty Camp-2 lessons (about USACO Silver): 1D/2D prefix sums, difference arrays, binary search and binary search on the answer, two pointers, coordinate compression, greedy, priority queues, stacks/deques, recursion and backtracking, graphs with DFS/BFS/flood fill, trees, functional graphs, bitmasks, number theory and intro DP. Every lesson has 10 auto-judged problems (3 required, 7 extra practice), with checkpoints and mock contests.

See pricing & enroll

20 lessons · ages 12–18 · A certificate from Sorndekcoding on completion

What this course includes

20 lessons

Read them on the website in Thai or English, whenever suits you

A certificate

From Sorndekcoding, signed by ครูพิม, with a code anyone can check

Every lesson in this course

The full list, with what each one teaches, so you know exactly what you are paying for

  1. 1 Lesson 1 — 1D Prefix Sums: Running Totals and Instant Range Queries
  2. 2 Lesson 2 — Binary Search on Sorted Data: lower_bound, upper_bound and Pairing with Prefix Sums
  3. 3 Lesson 3 — Two Pointers and the Sliding Window
  4. 4 Lesson 4 — Difference Arrays and 2D Prefix Sums
  5. 5 Lesson 5 — Coordinate Compression and Comparators
  6. 6 Lesson 6 — Binary Search on the Answer: the Smallest or Largest Feasible Value
  7. 7 Lesson 7 — Greedy with Sorting: Invariants and the Exchange Argument
  8. 8 Lesson 8 — Priority Queues: Heaps, the k Largest, and Scheduling by Priority
  9. 9 Lesson 9 — Stacks, Queues, Deques and the Monotonic Stack
  10. 10 Lesson 10 — Checkpoint 1: Prefix Sums, Binary Search and Greedy
  11. 11 Lesson 11 — Recursion and Backtracking (and How They Differ from DP)
  12. 12 Lesson 12 — Adjacency Lists, DFS and Connected Components
  13. 13 Lesson 13 — BFS and Unweighted Shortest Paths
  14. 14 Lesson 14 — Flood Fill on Grids
  15. 15 Lesson 15 — Trees: Depth, Subtree Size and Diameter
  16. 16 Lesson 16 — Functional Graphs and Finding Cycles
  17. 17 Lesson 17 — Bit Operators and Bitmask Enumeration
  18. 18 Lesson 18 — Number Theory for Code: Sieve, GCD, Modular Arithmetic and Fast Power
  19. 19 Lesson 19 — Introduction to DP: State, Transition, Base Case, Order of Computation, Memo vs Tabulation
  20. 20 Lesson 20 — Checkpoint 2: Two Mock Contests

Lesson content opens once your membership is active. The list above is always visible.