Cpoy from hzwer @ http://hzwer.com/1234.html
1.1 Basic data structure
array
linked list, doubly linked list
queue, monotonic queue, deque
stack, monotonic stack
1.2 Intermediate data structures
heap
Union search and weighted union search
hash table
natural overflow
double hash
1.3 Advanced Data Structures
tree array
Line segment tree, line segment tree merge
Balanced tree
Treap random balanced binary tree
Splay stretch tree
- Scapegoat Tree
block array, block linked list
5.* Tree cover tree
线段树套线段树
线段树套平衡树
* 平衡树套线段树
6. Can be stacked
左偏树
*配对堆
- KDtree, quadtree
1.4 Persistent Data Structures
Persistent segment tree
Chairman tree
-
- Persistent Balanced Tree
-
- Persistent block array
1.5 String related algorithms and data structures
km²
AC automaton
suffix array
* suffix tree
*suffix automaton
Dictionary tree Trie
manacher
1.6 Graph Theory Related
minimum spanning tree
prim
kruskal
Shortest Short, Secondary Short, K Short
spfa
dijkstra
floyd
Connectivity of graphs
connected components
cut point, cut edge
network flow
maximum flow
Minimum discount
expense flow
Score planning
tree correlation
Multiplication on the tree, common ancestor
tree chain segmentation
Tree divide and conquer algorithm (point divide and conquer, edge divide and conquer, *dynamic? tree divide and conquer)
Dynamic tree (LCT, *tree chunking)
virtual tree
*prufer encoding
topological sort
Euler diagram
binary picture
*KM algorithm
Hungarian algorithm
1.7 Mathematics related
(Extended) Euclidean Algorithm, Sieve Method, Fast Power
Feishu theorem
more subtractive
Euler function and *reduce power method
Fermat's little theorem
Permutations
lucas theorem
multiplicative inverse
matrix multiplication
Mathematical Expectation and Probability
game theory
sg function
tree trimming game
*Lagrange multiplier method
Chinese remainder theorem
Linear Programming and Network Flow
Simplex Linear Programming
Simpson Points
Modular system of linear equations
Inclusion and Exclusion Principle and Mobius Inversion
permutation group
Fast Fourier Transform
* Small Step Method (BSGS), Extended BSGS
1.8 Dynamic Programming
general, knapsack, shape pressure, interval, ring, tree, digital dynamic programming
memoized search
Steiner tree
Nine lectures on backpack
Slope Optimization and *Quad Inequality Optimization
Ring + Dynamic Programming on Outgoing Trees
* Plug dynamic programming
1.9 Computational geometry
Computational Geometry Fundamentals
3D Computational Geometry Preliminary
Trapezoid and Triangulation
Rotary jam
half plane intersection
pick theorem
scan line
1.10 Search related
bfs,dfs
A* algorithm
Iteratively deepen the search, two-way wide search
1.11 Special Algorithms
Mo team algorithm, *Mo team on the tree
Simulated Annealing
Hill Climbing Algorithm
random increment method
1.12 Other important tools and methods
1. Simulation and Greed
Two points, three points method (for partial derivatives)
Divide and conquer, CDQ divide and conquer
High precision
offline
ST table
1.13 STL
map
priority_queue
set
bitset
rope
1.14 Uncommon Algorithms
* Zhu Liu algorithm
* Chord diagram and interval diagram