Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jonathan-Uy/CSES-Solutions
/ functions
Functions
957 in github.com/Jonathan-Uy/CSES-Solutions
⨍
Functions
957
◇
Types & classes
61
↓ 1 callers
Function
dfs2
Tree Algorithms/Tree Distances I.cpp:18
↓ 1 callers
Function
dfs2
Graph Algorithms/Flight Routes Check.cpp:17
↓ 1 callers
Function
dfs2
Graph Algorithms/Planets and Kingdoms.cpp:18
↓ 1 callers
Function
dfs2
Graph Algorithms/Giant Pizza.cpp:32
↓ 1 callers
Function
dfs2
Graph Algorithms/Coin Collector.cpp:20
↓ 1 callers
Function
dfs2
Graph Algorithms/Planets Cycles.cpp:21
↓ 1 callers
Function
dfs2
Advanced Techniques/Reachability Queries.cpp:39
↓ 1 callers
Function
dfs3
Graph Algorithms/Coin Collector.cpp:28
↓ 1 callers
Function
dfs3
Advanced Techniques/Reachability Queries.cpp:47
↓ 1 callers
Function
dfsR
Graph Algorithms/High Score.cpp:25
↓ 1 callers
Function
dfs_dominator_tree
Advanced Graph Problems/Critical Cities.cpp:55
↓ 1 callers
Function
dist
Geometry/Minimum Euclidean Distance.cpp:17
↓ 1 callers
Function
erase
Sliding Window Problems/Sliding Window Cost.cpp:40
↓ 1 callers
Function
extend
String Algorithms/Finding Patterns.cpp:14
↓ 1 callers
Function
extend
String Algorithms/Pattern Positions.cpp:14
↓ 1 callers
Function
extend
String Algorithms/Counting Patterns.cpp:14
↓ 1 callers
Function
extend
String Algorithms/Repeating Substring.cpp:15
↓ 1 callers
Function
extend
String Algorithms/Substring Distribution.cpp:17
↓ 1 callers
Function
extend
String Algorithms/Substring Order I.cpp:25
↓ 1 callers
Function
extend
String Algorithms/Distinct Substrings.cpp:23
↓ 1 callers
Function
extend
String Algorithms/Substring Order II.cpp:25
↓ 1 callers
Function
f
Counting Problems/Grid Completion.cpp:36
↓ 1 callers
Function
f
Bitwise Operations/Counting Bits.cpp:9
↓ 1 callers
Function
f
Additional Problems I/Multiplication Table.cpp:8
↓ 1 callers
Function
f
Advanced Techniques/Corner Subgrid Count.cpp:12
↓ 1 callers
Function
fast_pow
Additional Problems I/Counting LCM Arrays.cpp:22
↓ 1 callers
Function
fastpow
Mathematics/Bracket Sequences I.cpp:9
↓ 1 callers
Function
fastpow
Mathematics/Exponentiation.cpp:10
↓ 1 callers
Function
fastpow
Counting Problems/Empty String.cpp:12
↓ 1 callers
Function
fastpow2
Introductory Problems/Bit Strings.cpp:9
↓ 1 callers
Function
find
Sorting and Searching/Sum of Two Values.cpp:10
↓ 1 callers
Function
find
Range Queries/Hotel Queries.cpp:36
↓ 1 callers
Function
find_ab
Returns a and b such that a and b have opposite parity and p := n - a^2 - b^2 is prime
Mathematics/Sum of Four Squares.cpp:36
↓ 1 callers
Function
find_cd
If prime p is congruent to 1 (mod 4), then there exists integers (c, d) such that c^2 + d^2 = p. Naively find such c and d.
Mathematics/Sum of Four Squares.cpp:55
↓ 1 callers
Function
find_centroid
Advanced Graph Problems/Creating Offices.cpp:52
↓ 1 callers
Function
find_size
Advanced Graph Problems/Creating Offices.cpp:41
↓ 1 callers
Function
gcd
Additional Problems I/Water Container Queries.cpp:6
↓ 1 callers
Function
generate_primes
Additional Problems I/Square Subsets.cpp:13
↓ 1 callers
Function
getSize
Tree Algorithms/Fixed Length Paths II.cpp:23
↓ 1 callers
Function
getSize
Tree Algorithms/Fixed Length Paths I.cpp:12
↓ 1 callers
Function
getSum
Advanced Techniques/Reversals and Sums.cpp:119
↓ 1 callers
Function
good
String Algorithms/Required Substring.cpp:23
↓ 1 callers
Function
heapify
Additional Problems II/Reversal Sorting.cpp:84
↓ 1 callers
Function
heapify
Advanced Techniques/Substring Reversals.cpp:83
↓ 1 callers
Function
heapify
Advanced Techniques/Cut and Paste.cpp:72
↓ 1 callers
Function
heapify
Advanced Techniques/Reversals and Sums.cpp:86
↓ 1 callers
Function
highToLow
Sliding Window Problems/Sliding Window Cost.cpp:26
↓ 1 callers
Function
in_bounds
Introductory Problems/Knight Moves Grid.cpp:15
↓ 1 callers
Function
increment
Geometry/Area of Rectangles.cpp:30
↓ 1 callers
Function
increment
Sorting and Searching/Movie Festival II.cpp:32
↓ 1 callers
Function
increment
Additional Problems I/Stack Weights.cpp:31
↓ 1 callers
Function
init
Mathematics/Counting Coprime Pairs.cpp:12
↓ 1 callers
Function
init
Mathematics/Christmas Party.cpp:11
↓ 1 callers
Function
init
Mathematics/Counting Divisors.cpp:8
↓ 1 callers
Function
init
Mathematics/Throwing Dice.cpp:9
↓ 1 callers
Function
init
Mathematics/Grundy's Game.cpp:14
↓ 1 callers
Function
init
Mathematics/Bracket Sequences II.cpp:27
↓ 1 callers
Function
init
Mathematics/Binomial Coefficients.cpp:23
↓ 1 callers
Function
init
Mathematics/Distributing Apples.cpp:23
↓ 1 callers
Function
init
Mathematics/Creating Strings II.cpp:24
↓ 1 callers
Function
init
Mathematics/Permutation Order.cpp:9
↓ 1 callers
Function
init
Advanced Graph Problems/Visiting Cities.cpp:20
↓ 1 callers
Function
init
Counting Problems/Permutation Inversions.cpp:12
↓ 1 callers
Function
init
Counting Problems/Grid Completion.cpp:28
↓ 1 callers
Function
init
Counting Problems/Counting Permutations.cpp:11
↓ 1 callers
Function
init
Counting Problems/Grid Paths II.cpp:25
↓ 1 callers
Function
init
Counting Problems/Empty String.cpp:27
↓ 1 callers
Function
init
Sorting and Searching/Movie Festival II.cpp:23
↓ 1 callers
Function
init
String Algorithms/Finding Patterns.cpp:43
↓ 1 callers
Function
init
String Algorithms/Finding Periods.cpp:13
↓ 1 callers
Function
init
String Algorithms/Pattern Positions.cpp:46
↓ 1 callers
Function
init
String Algorithms/Counting Patterns.cpp:44
↓ 1 callers
Function
init
String Algorithms/Repeating Substring.cpp:47
↓ 1 callers
Function
init
String Algorithms/Substring Distribution.cpp:46
↓ 1 callers
Function
init
String Algorithms/Substring Order I.cpp:18
↓ 1 callers
Function
init
String Algorithms/Palindrome Queries.cpp:38
↓ 1 callers
Function
init
String Algorithms/Distinct Substrings.cpp:16
↓ 1 callers
Function
init
String Algorithms/Substring Order II.cpp:18
↓ 1 callers
Function
init
Graph Algorithms/De Bruijn Sequence.cpp:12
↓ 1 callers
Function
init
Graph Algorithms/Knights Tour.cpp:16
↓ 1 callers
Function
init
Range Queries/Pizzeria Queries.cpp:14
↓ 1 callers
Function
init
Range Queries/Missing Coin Sum Queries.cpp:36
↓ 1 callers
Function
init
Range Queries/Prefix Sum Queries.cpp:17
↓ 1 callers
Function
init
Range Queries/Increasing Array Queries.cpp:35
↓ 1 callers
Function
init
Range Queries/Hotel Queries.cpp:13
↓ 1 callers
Function
init
Range Queries/Distinct Values Queries II.cpp:20
↓ 1 callers
Function
init
Range Queries/Dynamic Range Minimum Queries.cpp:17
↓ 1 callers
Function
init
Dynamic Programming/Two Sets II.cpp:12
↓ 1 callers
Function
init
Additional Problems I/Swap Game.cpp:13
↓ 1 callers
Function
init
Additional Problems I/Shortest Subsequence.cpp:12
↓ 1 callers
Function
init
Additional Problems I/Writing Numbers.cpp:8
↓ 1 callers
Function
init
Additional Problems I/Stack Weights.cpp:22
↓ 1 callers
Function
init
Additional Problems I/Bit Inversions.cpp:28
↓ 1 callers
Function
init_choose
Counting Problems/Counting Bishops.cpp:44
↓ 1 callers
Function
init_choose
Counting Problems/Counting Sequences.cpp:21
↓ 1 callers
Function
init_choose
Counting Problems/Functional Graph Distribution.cpp:28
↓ 1 callers
Function
init_parents
Graph Algorithms/Planets Queries II.cpp:25
↓ 1 callers
Function
init_powers
Counting Problems/Functional Graph Distribution.cpp:22
↓ 1 callers
Function
init_primes
Mathematics/Sum of Four Squares.cpp:17
↓ 1 callers
Function
init_primes
Mathematics/Permutation Rounds.cpp:13
← previous
next →
301–400 of 957, ranked by callers