Skip to content

Main

DP

1D (LIS/LCS)

Masking & Boundary

Digit

Permutation

0

Range-Algorithms Optimization

Monotonic Decision Point Optimization

2

WQS / Alien's Trick

2

Knuth Optimization

2

Slope Optimization / Convex Hull Trick

r

DP on Tree

Multi-Root

Range Algorithms

Segment Tree

Balanced BST

Persistent Data Structures

3

Sqrt Decomposition (Batching)

Mo's Algorithm

CDQ/Offline D&C

Cartesian Tree

Ad-hoc Constructions

Potential Functions (Upper/Lower Bound Check)

Math

Number Theory

Sieves

4

Combinatorics & Probability

r

Linear Algebra

r

Graph Theory

Trees

Virtual Tree Construction

1

Centroid D&C

1

Cut-Vertices, Cut-Edges & SCC

r

Block Forest

6

Eulerian Tour

r

Min-Flow

r

Game Theory

String Processing

Automata

AC

SAM

1

Z-function

r

Manacher

r

Suffix Tree

5 (maybe with SAM)

Border Theory

3

MISC

K-th Partial Order

High-Dim Prefix Sum