Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShahjalalShohag/code-library
/ functions
Functions
3,514 in github.com/ShahjalalShohag/code-library
⨍
Functions
3,514
◇
Types & classes
351
Method
Group
Miscellaneous/Schreier–Sims algorithm.cpp:48
Method
HP
Geometry/Geometry 2D.cpp:1048
Method
HP
Geometry/Half Plane Intersection.cpp:58
Method
HalfPlaneSet
Geometry/Half Plane Intersection Dynamic.cpp:81
Method
Hashing
Strings/String Hashing With Updates and Reverse.cpp:80
Method
Hashing
1 - indexed
Strings/String Hashing.cpp:41
Method
Hashing
Strings/String Hashing 2D.cpp:11
Method
HopcroftKarp
Graph Theory/HopCroft Karp Algorithm.cpp:11
Method
Hungarian
Graph Theory/Hungarian Algorithm.cpp:17
Method
Int
Data Structures/Segment Tree with Arithmetic Progression.cpp:37
Method
IsomorphicSuffixArray
Strings/Suffix Array Isomorphic.cpp:106
Method
Italiano
Graph Theory/DAG Reachability Dynamic.cpp:15
Method
Kuhn
Strings/Aho Corasick All Pair Occurrence Relation.cpp:69
Method
Kuhn
Graph Theory/Kuhns Algorithm.cpp:12
Method
LCA
Graph Theory/LCA in O(1).cpp:31
Method
LCT
Data Structures/Link Cut Tree.cpp:21
Method
LDE
Number Theory/Linear Diophantine Equation with Nonnegative Solutions.cpp:10
Method
LR_Flow
Graph Theory/L R Flow with MCMF.cpp:124
Method
LR_Flow
Graph Theory/L R Flow with Dinic.cpp:83
Method
LeftHull
Geometry/Onion Decomposition.cpp:109
Function
Legendre
complexity: n^(2/3).(log n^(1/3))
Number Theory/K Divisors.cpp:51
Function
Legendre
complexity: n^(2/3).(log n^(1/3))
Number Theory/Prime Counting Function.cpp:52
Method
LiChaoNode
Dynamic Programming Optimizations/Persistent Li Chao Tree.cpp:23
Method
LiChaoTree
Dynamic Programming Optimizations/Li Chao Tree.cpp:72
Method
Line
Geometry/Rectangle Union.cpp:8
Method
LinearOracle
Miscellaneous/Matroid Intersection Color Linear Matroid.cpp:48
Method
LinearRecurrence
Math/Reeds Sloane Algorithm.cpp:171
Method
MCMF
Graph Theory/L R Flow with MCMF.cpp:24
Method
MCMF
Graph Theory/Min Cost Max Flow.cpp:33
Method
MEX
Data Structures/MOs Online.cpp:8
Method
Manacher
p[1][i] = (max odd length palindrome centered at i) / 2 [floor division] p[0][i] = same for even, it considers the right center e.g. for s = "abbabba"
Strings/Manachers.cpp:9
Method
Mat
Math/Determinant of Sparse Matrix.cpp:62
Method
Mat
Math/Matrix Exponentiation.cpp:9
Method
Mat
Math/Matrix Exponentiation With Polynomial Coefficients.cpp:53
Method
Mat
Math/Freivalds Algorithm.cpp:9
Method
Matrix
Math/FWHT in Any Base.cpp:19
Method
Maxclique
Graph Theory/Maximum Clique and Maximum Independent Set Super Fast.cpp:64
Method
MaximumClosure
answer could be an empty set and could be disconnected
Graph Theory/Maximum Closure Problem.cpp:76
Method
Mint
Number Theory/Prime Factorization Fastest.cpp:8
Method
Mod
Number Theory/Sum of nCi for a Fixed Large n.cpp:54
Method
Node
Data Structures/Segment Tree NonRecursive.cpp:10
Method
OnlineBridge
Graph Theory/Online Articulation Bridges.cpp:14
Method
OnlineConvolution
Math/NTT Online.cpp:51
Method
P
Geometry/Voronoi Diagram.cpp:8
Method
P
Number Theory/Sieve upto 1e9.cpp:9
Method
PT
Dynamic Programming Optimizations/Persistent CHT.cpp:3
Method
PT
Dynamic Programming Optimizations/DP on Convex Hulls.cpp:9
Method
PT
Geometry/Voronoi Diagram.cpp:118
Method
PT
Geometry/Point Location.cpp:20
Method
PT
Geometry/Convex Hull Dynamic.cpp:10
Method
PT
Geometry/Geometry 2D.cpp:13
Method
PT
Geometry/Geometry 3D.cpp:12
Method
PT
Geometry/Half Plane Intersection.cpp:10
Method
PT
Geometry/Delaunay Triangulation.cpp:9
Method
PT
Geometry/Half Plane Intersection Dynamic.cpp:10
Method
PT
Geometry/All Pair Segment Intersection.cpp:15
Method
PalindromicTree
Strings/Palindromic Tree Persistent.cpp:24
Method
PalindromicTree
Strings/Minimum Palindrome Factorization.cpp:20
Method
PalindromicTree
Strings/Palindromic Tree.cpp:16
Method
PersistentDSU
Data Structures/Persistent UnionFind.cpp:70
Method
PersistentLiChaoTree
Dynamic Programming Optimizations/Persistent Li Chao Tree.cpp:64
Method
PersistentQueue
Data Structures/Persistent Queue.cpp:66
Method
PersistentQueue
Data Structures/Persistent Array.cpp:66
Method
RandomizedMatching
Graph Theory/Randomized Matching Weighted.cpp:17
Method
RandomizedMatching
Graph Theory/Chinese Postman Problem.cpp:17
Method
RandomizedMatching
Graph Theory/Randomized Matching Unweighted.cpp:12
Method
ReedsSloane
Math/Reeds Sloane Algorithm.cpp:66
Method
SAT_GOD
Graph Theory/3 SAT.cpp:21
Method
SGTBeats
Data Structures/Segment Tree Beats.cpp:217
Function
SQ
Geometry/Voronoi Diagram.cpp:151
Function
SQ
Geometry/Geometry 3D.cpp:46
Function
SQ
Geometry/Half Plane Intersection.cpp:43
Function
SQ
Geometry/Half Plane Intersection Dynamic.cpp:43
Function
SQ
Geometry/All Pair Segment Intersection.cpp:99
Method
SQ
Geometry/Geometry 2D.cpp:465
Method
ST
Miscellaneous/MEX of all Subarrays.cpp:8
Method
ST
Strings/Suffix Automaton Distinct Substring Queries in Range.cpp:10
Method
ST
Data Structures/4D MO.cpp:8
Method
ST
Data Structures/Segment Tree NonRecursive.cpp:17
Method
ST
Data Structures/Dynamic Diameter Online.cpp:33
Method
ST
Data Structures/Segment Tree with Arithmetic Progression.cpp:48
Method
ST
Data Structures/Segment Tree 2D Dynamic.cpp:109
Method
ST
Data Structures/Permutation Tree.cpp:10
Method
ST
Data Structures/Segment Tree.cpp:10
Method
ST
Data Structures/HLD.cpp:10
Method
ST
Data Structures/Segment Tree Lazy.cpp:10
Method
STM
Data Structures/Segment Tree Merging.cpp:14
Method
SqrtTree
Data Structures/SQRT Tree.cpp:142
Method
StoerWagner
Graph Theory/Stoer Wagner Algorithm.cpp:14
Method
SuffixArray
Strings/Suffix Array Isomorphic.cpp:42
Method
SuffixArray
Strings/Suffix Array.cpp:94
Method
SuffixAutomaton
Strings/Suffix Automaton.cpp:21
Method
SuffixAutomaton
Strings/Suffix Automaton Distinct Substring Queries in Range.cpp:61
Method
TECC
Graph Theory/Articulation Bridges.cpp:35
Method
Tree
Graph Theory/Tree Isomorphism.cpp:39
Method
Trie
Data Structures/Trie.cpp:16
Method
XORSegmentTree
Data Structures/XOR Segment Tree.cpp:12
Method
__add
Miscellaneous/BigInt.cpp:154
Method
__cmp
Miscellaneous/BigInt.cpp:140
Method
__sub
Miscellaneous/BigInt.cpp:164
← previous
next →
1,501–1,600 of 3,514, ranked by callers