| Input, expressions and control flow | Constants, variables and assignment Basic data types Value ranges and overflow Arithmetic Integer division and remainder Comparisons Logical expressions cin and cout Sequential execution Conditional branches Loops break and continue Nested loops Nested branches |
|---|
| Arrays, strings and counting | One-dimensional arrays and bounds Array traversal, totals and extrema Strings and string operations |
|---|
| Enumeration and state simulation | Enumeration Simulation |
|---|
| Sorting and binary search | Bubble, insertion, selection sort and stability Multi-key sorting and deduplication Binary search |
|---|
| Representation, justification and testing | Algorithm correctness: invariants, induction, and counterexamples Complexity estimation |
|---|
| Functions, recursion and recurrence | Function definition and invocation Parameter passing: by value, by reference, by pointer Variable scope Recursion Recurrence |
|---|
| Grids, search and reachability | Multidimensional arrays Depth-first search Breadth-first search Flood fill algorithm |
|---|
| Queues, stacks, disjoint sets and static queries | Stack Queues Disjoint set union Heap and priority queue Sparse table |
|---|
| Greedy choices, prefixes and answer search | Greedy Binary search on answer Prefix sums and difference arrays Discretization |
|---|
| State design and dynamic programming | One-dimensional dynamic programming Simple knapsack Two-dimensional dynamic programming Dynamic programming extremum optimization and rolling array |
|---|
| Graph models and paths | Graph representations Graph traversal Shortest paths Topological sorting Minimum spanning trees |
|---|
| Connectivity and range structures | Monotonic stack and monotonic queue Fenwick tree Segment tree |
|---|
| Interval, tree, bitmask and optimized DP | Interval dynamic programming Tree dynamic programming State compression dynamic programming Monotonic queue and decision optimization in dynamic programming |
|---|
| Static trees and path queries | Lowest common ancestor and problems on trees Heavy-light decomposition |
|---|
| Offline processing and persistent structures | Offline Processing, Mo's Algorithm and CDQ Divide and Conquer Sweep line Persistent Data Structures |
|---|
| Connectivity and tree metrics | Articulation points, bridges, and biconnected components Tree centroid, diameter, DFS order, and tree difference |
|---|
| Bit operations, counting and integer algorithms | Bitwise operations Counting principles Permutations and combinations Pascal's triangle Euclidean algorithm Sieve of Eratosthenes and linear sieve |
|---|
| Correctness arguments, counterexamples and performance checks | Complexity optimization Boundary testing, stress testing, and subtask analysis |
|---|