This template is made for competitive programming using C++
language.
- Graph Traversing (DFS, BFS)
- Dijkstra
- Floyd
- Prim
- Binary Search Tree
- Centroid Decomposition
- Lowest Common Ancestor
- Lowest Common Ancestor Weighted
- SQRT Decomposition + Mo’s Algorithm on Tree
- Segment Tree
- Lazy Propagation
- Persistent Segment Tree
- Fenwick Tree
- Fenwick Tree 2D
- Sparse Table
- Disjoint Set Union
- Heavy Light Decomposition
- SQRT Decomposition + Mo’s Algorithm
- Ordered Set
- Trie
- Binary Trie
- Monotonic Stacks
- Monotonic Queue