Skip to content

Corei13/contest-programming-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Hierarchy

  • Graph.cpp

    • SCC (Tarjan)
    • TopSort
    • Minimum Spanning Tree
    • Dijkstra
    • Articulation Point, Bridge, Biconnected Components [partially tested]
    • Hofcroft-Karp Matching + Minimum Vertex Cover (Maximum Independent Set)
    • Stable Matching
    • Euler Tour
    • Push Relabel Flow
    • 2-Connected Component
    • Min Cost Max Flow
    • Global Min Cut
    • Edmond's Blossom Algorithm
    • Bellman-Ford
    • Heavy-Light Decomposition
    • Suurballe's Algorithm
    • Directed MST
    • Array Represtation Of Adj. List
  • Geometry.cpp

    • Common Geometry Routines
    • Fraction
    • Convex Hull
    • Triangulation
    • Closest Pair of Points
    • Rotating Calipers
  • Math.cpp

    • FFT
    • Simplex
    • Gauss-Jordan
    • Extended Euclid
    • Diophantine Equation
    • Reduced Row Echelon Form
  • String.cpp

    • Lexicographically Smallest Rotation (Booth's Algorithm)
    • Longest palindromic substring
    • Suffix Array
    • Automata
    • KMP
  • DS.cpp

    • LIS
    • Union Find
    • Trie [#TODO: Implement delete function]
    • Static Trie
    • Matrix [#TODO: add doc + functional plus/multiplication? + add move constructors]
    • BIT
    • Segment Tree
    • 2D Segment Tree
    • Sparse Segment Tree
    • LCA
    • Dates
    • BigInt
    • RMQ, RMedianQ
    • Splay Tree
    • Link/Cut Tree
    • Treap
    • AVL Tree
  • DP.cpp

    • Monotonous Queue [ min (j < i) { a[j] + b[j] * c[i] } ]
    • Dynamic Monotonous Queue
    • Knuth Optimization [ dp[i][j] = C[i][j] + min (i < k < j) { dp[i][k] + dp[k][j] }, C concave ]
    • Divide and Conquer [ dp[i][j] = min (k < j) { dp[i - 1][k] + C[k][j] } ]
    • dp[i] = min (j < i) { f( dp[j] ) + C[i][j] }, C concave, f = O(1)
  • Parser.cpp

    • Postfix, Infix, Prefix Converter
    • Context-Free Grammer
    • RegEx
  • Misc.cpp

    • lambda functions
    • STL cheatsheet
    • Kahan Summation Algorithm
    • Hacks, Tweaks, Tips and Formulas
    • Write down usefull templates

About

Archive of codes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy