. Segment Tree : Lazy Propagation, Walk on Tree, with Vectors, Merge sort Tree, Persistent, Sparse, Beats, …
. Fenwick Tree : Walk on Tree, 2D, coord compression 2D, …
. Sparse Table : 1D, 2D, LCA, …
. DSU : standard, Rollback version, Dynamic Connectivity, Bipartite online, …
. SQRT decomposition : blocks, standard, spilt and rebuild, queries, Mo, baby step giant step, …
. Deque trick : min, max, gcd
. DFS/BFS : easy
. Bellman-Ford / Dijkstra / Floyd-Warshall : 3 shortest path algorithm
. DFS - Tree : bridges / joints, Strongly Connected Components, 2SAT, …
. Bridge Tree : implementation
. Block Cut Tree : implementation
. Minimum Spanning Tree : Kruskal, Prim, …
. Euler Cycle/Path : implementation
. Hamiltonian Cycle/Path : properties
. Maximum Flow / Minimum Cut : implementation / properties, …
. Minimum Cost Maximum Flow : implementation
. Maximum Bipartite Matching : implementation
. Segment Tree and Graph : implementation
. Lowest Common Ancestor :
. Binary Lifting : implementation
. Euler tour on Tree : properties + implementation, fenwick path update sum
. Small to Large : implementation
. Sack on Tree : implementation
. Heavy-ligh Decomposition : implementation
. Centroid Decomposition : implementation
. DSU tree / IOI18 Werewolf Trick : implementation
. Hashing : multi Modulo, 2 styles
. Z algorithm : implementation
. KMP algorithm : implementation, automaton, …
. Trie : dynamic implementation, string and binary number, add, delete, kth, lower bound, max xor, xor all elements, all operations in range
. Manacher : implementation
. Suffix Array : implementation
. Sieve of Eratosthenes : implementation, many variants, …
. Basic Combinatorics :
. Modulo inverse :
. Fermat's little theorem :
. Inclusion-Exclusion : basic
. Stars and bars : 2 variants non-negative and positive
. Lucas theorem : basic
. Multiplicative functions : Euler totient function, Mobius, …
. Chinese Remainder Theorem : implementation and properties
. Diophantine equation : implementation
. Basic 2D : basic knowledges
. Rotate : basic
. Convex hull : implementation and properties
. Sweepline : minimum euclidean distance points, manhattan MST, …
. Minkowski sum : implementation and properties, …
. Planar Graph : properties and theorem
. Basic adhoc games : finding properties and optimal
. Nim games : basic properties
. Grundy number : finding
. Basic Variants : LIS, LCS, knapsack, grid, bitmask
. Digit : states and transitions
. Matrix multiplication transition : hint by small states
. Sum over subset : iteractive implementation
. DAG : longest path
. Knuth optimization : properties
. Divide and Conquer optimization : properties
. Tree : merging subtree
. Lichao Tree : implementation
. Convex Hull Trick : implementation
. Meet in the middle : split into 2 sets
. Bitset : /64 complexity
. Montone-Queue optimization : remove RMQ
. Divide and Conquer : divide to
. Ternary Search : search on a parabol
. Parallel Binary search : do
. Matrix multiplication : solving
. Basis XOR : insert vectors and some properties
. XOR hasing : randomize hash
. Probability : randmize chance to appear solution
. Extension Field :
. Alien trick / WQS Binary search : Optimize 1 dimension
. CDQ Divide and Conquer : offline divide and conquer