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
↓ 588 callers
Method
push_back
Number Theory/Sum of nCi for a Fixed Large n.cpp:244
↓ 363 callers
Method
size
Math/Polynomial.cpp:162
↓ 262 callers
Method
size
Graph Theory/Directed MST.cpp:13
↓ 243 callers
Method
resize
Number Theory/Sum of nCi for a Fixed Large n.cpp:243
↓ 113 callers
Function
size
Data Structures/Treap persistent.cpp:28
↓ 111 callers
Method
size
Miscellaneous/Schreier–Sims algorithm.cpp:42
↓ 100 callers
Method
size
Number Theory/Bell Number.cpp:162
↓ 85 callers
Method
empty
Graph Theory/Eppsteins Algorithm.cpp:39
↓ 77 callers
Method
assign
assign a[i]=val for l<=i<=r returns affected ranges before performing this assign operation
Data Structures/Interval Set.cpp:15
↓ 68 callers
Method
size
Number Theory/Sum of nCi for a Fixed Large n.cpp:242
↓ 64 callers
Function
sign
Geometry/Geometry 2D.cpp:10
↓ 61 callers
Function
find
Data Structures/Augmented DSU.cpp:22
↓ 61 callers
Method
size
Data Structures/Venice Technique.cpp:6
↓ 56 callers
Function
pow
Math/FWHT in Any Base.cpp:81
↓ 53 callers
Method
push
Graph Theory/3 SAT.cpp:47
↓ 50 callers
Function
rep
Number Theory/Sum of nCi for a Fixed Large n.cpp:148
↓ 49 callers
Method
clear
Graph Theory/Edge Coloring Bipartite Graph Faster.cpp:19
↓ 47 callers
Function
cross
Geometry/Geometry 2D.cpp:41
↓ 45 callers
Method
pop
Graph Theory/3 SAT.cpp:58
↓ 44 callers
Function
push
Data Structures/Reachability Tree.cpp:68
↓ 42 callers
Function
abs
Geometry/Geometry 3D.cpp:77
↓ 42 callers
Function
query
Data Structures/HLD.cpp:106
↓ 39 callers
Function
sign
Geometry/Geometry 3D.cpp:8
↓ 38 callers
Function
split
Data Structures/Treap persistent.cpp:34
↓ 37 callers
Function
dot
Geometry/Geometry 2D.cpp:38
↓ 34 callers
Function
upd
Data Structures/MOs Online.cpp:46
↓ 32 callers
Method
top
Graph Theory/Eppsteins Algorithm.cpp:36
↓ 29 callers
Function
build
Data Structures/Sparse Table.cpp:7
↓ 27 callers
Method
size
Math/Faulhaber Formula Fastest.cpp:142
↓ 26 callers
Function
is_zero
Miscellaneous/Negative Base (Binary).cpp:51
↓ 26 callers
Function
merge
Data Structures/Augmented DSU.cpp:29
↓ 25 callers
Function
orientation
Geometry/Geometry 2D.cpp:43
↓ 24 callers
Method
erase
Data Structures/Treap.cpp:60
↓ 23 callers
Function
dfs
Graph Theory/DFS.cpp:7
↓ 22 callers
Method
top
Data Structures/Persistent Meldable Heap.cpp:35
↓ 19 callers
Method
empty
Data Structures/Persistent Meldable Heap.cpp:38
↓ 19 callers
Function
root
cycle decomposition of the k-th root of p with minimum disjoint cycles if toggle = 1, then the parity of number of cycles will be different from the o
Miscellaneous/K-th Root of a Permutation.cpp:51
↓ 19 callers
Method
size
Number Theory/Stirling Number of the Second Kind for Fixed k.cpp:162
↓ 18 callers
Function
copy
Data Structures/Treap persistent.cpp:21
↓ 18 callers
Method
push
Miscellaneous/Maximum of Sum of All Pair Distances of K nodes in a Tree.cpp:45
↓ 18 callers
Method
size
Math/Subset Sum Problem.cpp:142
↓ 17 callers
Method
erase
Geometry/Onion Decomposition.cpp:82
↓ 17 callers
Method
insert
import constructors
Geometry/Geometry 3D.cpp:598
↓ 17 callers
Method
insert
Math/Basis Vector.cpp:17
↓ 16 callers
Function
dist
Geometry/Geometry 2D.cpp:40
↓ 16 callers
Method
insert
Graph Theory/Eppsteins Algorithm.cpp:30
↓ 16 callers
Function
power
Number Theory/Discrete Root Faster.cpp:5
↓ 15 callers
Method
mod_xk
Math/Polynomial.cpp:206
↓ 15 callers
Function
update
Data Structures/MOs with Update.cpp:29
↓ 14 callers
Function
insert
Insert a node
Data Structures/BST.cpp:33
↓ 14 callers
Function
push
Geometry/Rectangle Union.cpp:14
↓ 13 callers
Function
POW
Math/FWHT in Any Base.cpp:6
↓ 13 callers
Method
clear
fraction part
Game Theory/Blue Red Hackenbush.cpp:61
↓ 13 callers
Method
clear
positions of all the values clearing the treap
Data Structures/Implicit Treap.cpp:58
↓ 13 callers
Function
cross
Geometry/Convex Hull Dynamic.cpp:18
↓ 13 callers
Method
insert
Data Structures/Trie.cpp:19
↓ 13 callers
Method
mod_xk
Math/Faulhaber Formula Fastest.cpp:183
↓ 12 callers
Function
access
Strings/Suffix Automaton Distinct Substring Queries in Range.cpp:145
↓ 12 callers
Method
add_edge
Graph Theory/L R Flow with MCMF.cpp:30
↓ 12 callers
Function
build
Graph Theory/Dominator Tree.cpp:30
↓ 12 callers
Function
combine
Data Structures/Reachability Tree.cpp:78
↓ 12 callers
Function
dist2
Geometry/Geometry 2D.cpp:39
↓ 12 callers
Function
f
Math/Polynomial Sum.cpp:97
↓ 12 callers
Method
find
Graph Theory/Manhattan MST.cpp:20
↓ 12 callers
Method
r
Geometry/Voronoi Diagram.cpp:32
↓ 12 callers
Method
r
Geometry/Delaunay Triangulation.cpp:33
↓ 12 callers
Function
splay
Strings/Suffix Automaton Distinct Substring Queries in Range.cpp:127
↓ 12 callers
Method
truncate
Geometry/Geometry 2D.cpp:29
↓ 11 callers
Method
count
Strings/Bit LCS.cpp:48
↓ 11 callers
Function
erase
Data Structures/Treap persistent.cpp:76
↓ 11 callers
Function
mul_mod
Number Theory/Pollard Rho.cpp:13
↓ 11 callers
Function
upd
Geometry/Rectangle Union.cpp:23
↓ 10 callers
Function
add_edge
Graph Theory/Dijkstra on Segment Tree.cpp:7
↓ 10 callers
Method
clear
tracks digits in (-base, base)
Miscellaneous/Trygub Num.cpp:10
↓ 10 callers
Method
clear
Strings/Bit LCS.cpp:14
↓ 10 callers
Function
convolve
Number Theory/Sum of nCi for a Fixed Large n.cpp:98
↓ 10 callers
Method
cross
Geometry/Delaunay Triangulation.cpp:17
↓ 10 callers
Method
get
Number Theory/Sum of nCi for a Fixed Large n.cpp:66
↓ 10 callers
Method
r
Data Structures/Top Tree.cpp:25
↓ 10 callers
Function
shift
Number Theory/Stirling Number of the First Kind for Fixed n.cpp:48
↓ 10 callers
Function
sign
Geometry/Half Plane Intersection Dynamic.cpp:7
↓ 10 callers
Function
yo
Data Structures/MOs on tree.cpp:37
↓ 9 callers
Method
count
Graph Theory/Krushkal's MST.cpp:14
↓ 9 callers
Function
cross
Geometry/Half Plane Intersection.cpp:36
↓ 9 callers
Function
dist
Graph Theory/LCA.cpp:30
↓ 9 callers
Function
get
Strings/Number of Palindromes in Range.cpp:117
↓ 9 callers
Function
inverse
Number Theory/Linear Diophantine Equation Three Variables with Nonnegative Solutions.cpp:16
↓ 9 callers
Function
mul
Number Theory/Powerful Number Sieve.cpp:32
↓ 9 callers
Function
rotate
Strings/Suffix Automaton Distinct Substring Queries in Range.cpp:119
↓ 9 callers
Method
size
Miscellaneous/Matroid Intersection Color Linear Matroid.cpp:26
↓ 9 callers
Function
split
returns such 𝑗(0 indexed), that the 𝑖-the element is the beginning of the 𝑗-th segment
Data Structures/Square Root Decomposition With Reverse Update.cpp:59
↓ 9 callers
Function
sq
Geometry/Geometry 3D.cpp:76
↓ 8 callers
Function
add
Graph Theory/Manhattan MST.cpp:39
↓ 8 callers
Function
add
add an edge of type (x_u - x_v OP w) here ty = 0 means OP is <= ty = 1 means OP is >= ty = 2 means OP is == */
Graph Theory/System Of Difference Constraints.cpp:55
↓ 8 callers
Method
add
add this type of condition-> add(a,af,b,bf) means if a is af then b must need to be bf
Graph Theory/2 SAT.cpp:54
↓ 8 callers
Function
add_edge
Data Structures/Centroid Decomposition Persistent.cpp:7
↓ 8 callers
Function
add_edge
Data Structures/Binarizing a Tree.cpp:7
↓ 8 callers
Function
conj
Math/NTT With Any Prime MOD.cpp:14
↓ 8 callers
Function
conj
Math/Polynomial.cpp:14
↓ 8 callers
Function
conj
Math/Subset Sum Problem.cpp:14
next →
1–100 of 3,514, ranked by callers