List of algorithms implemented in C++ that appear in competitive programming competitions. Algorithms Computational Geometry Convex Hull Enclosing Circle Common Dynamic Programming Questions Longest Increasing Subsequence in O(nlogn) Graphs Bellman Ford Dijkstra Floyd Warshall Minimum Spanning Tree Number Theory Combinatorics Sieve of Eratosthenes Sieve of Eratosthenes in O(n) Prime Factorization String KMP Data Structures Fenwick Tree (Point Update) Merge Sort Tree Segment Tree (Point Update) Trie Disjoint Union Set