CP Algorithms Useful algorithms for competitive programming Data Structures Sparce table Number Theory Binary exponentiation Eratosfen sieve O(nloglog n) Linear sieve O(n) Strings Manacher's algorithm Z function Graphs Kuhn's algorithm Hungarian algorithm LCA Binary Lifting Center of a Tree Bridges in a graph Cut points in a graph