- BFS
- Connected components and BFS/DFS tree extraction
- Cycle detection in directed and undirected graphs
- Prim algorithm
- Shortest paths in DAGs via topological order
- A* search
- Johnson algorithm for APSP
- Tarjan algorithm for SCC
- Bridges, articulation points, and biconnected components
- Hopcroft-Karp algorithm
- Hungarian algorithm
- Dinic algorithm
- Min cost max flow
- Cut and separator problems
- Steiner tree via FPT algorithm
- Fenwick tree
- Segment tree with lazy propagation
- Difference array
- Z algorithm
- Suffix array and LCP array
- Modular exponentiation
- Gaussian elimination
- Point in polygon
- Distance and projection primitives
- Rotating calipers
- Bitmask DP
- Meet in the middle
- Inclusion exclusion