Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EgorKulikov/rust_algo
/ functions
Functions
16,849 in github.com/EgorKulikov/rust_algo
⨍
Functions
16,849
◇
Types & classes
2,204
↓ 25 callers
Method
put
(&mut self, b: u8)
algo_lib/src/io/output.rs:114
↓ 24 callers
Function
gen
(seed: u64)
archive/2026/04/2026.04.26 - JR WEST and ALGO ARTIS Programming Contest (AtCoder Heuristic Contest 064)/scoring.rs.rs:41
↓ 24 callers
Method
max_flow
(&mut self, source: usize, destination: usize)
algo_lib/src/graph/max_flow.rs:15
↓ 24 callers
Function
qty
(a: &[i64], from: i64, to: i64)
archive/2024/06/4.6.2024 - Bihari Coding Contest/pair_popcount_sum.rs:14
↓ 24 callers
Method
run
(&mut self)
tester/src/interactive.rs:19
↓ 24 callers
Method
update
(&mut self, val: Value)
archive/2024/02/29.2.2024 - Codeforces Round #930/d_bitovii_paradoks.rs:42
↓ 23 callers
Method
as_ref
(&self)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:359
↓ 23 callers
Method
binary_search
Searches for the first leaf in a→b travel order satisfying `accept`. Leaves are considered in a→b travel order (up-leg from `a` to lca, then down-leg
algo_lib/src/graph/path_segment_tree.rs:188
↓ 23 callers
Method
multiply
(&mut self, a: &[M], b: &[M])
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:1580
↓ 23 callers
Method
payload
(&self)
algo_lib/src/collections/treap/treap.rs:56
↓ 23 callers
Method
push
(&mut self, delta: Node, _left: usize, _right: usize)
archive/2023/11/4.11.2023 - Yandex Cup 2023 — Algorithm — Semifinal/d_robot_dance.rs:65
↓ 22 callers
Method
ceil
(&self)
algo_lib/src/numbers/real.rs:20
↓ 22 callers
Method
d1
(&self)
algo_lib/src/collections/md_arr/arr3d.rs:42
↓ 22 callers
Method
find
(&self, i: usize)
algo_lib/src/collections/dsu.rs:52
↓ 22 callers
Method
iter_map
(self, f: F)
algo_lib/src/collections/iter_ext/iters.rs:60
↓ 22 callers
Method
read_size_table
(&mut self, d1: usize, d2: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:416
↓ 21 callers
Method
copy_iter
(&'a self)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:264
↓ 21 callers
Method
d2
(&self)
algo_lib/src/collections/md_arr/arr3d.rs:46
↓ 21 callers
Method
floor
(&self)
algo_lib/src/numbers/real.rs:23
↓ 21 callers
Function
join
(mut left: VecDeque<usize>, mut right: VecDeque<usize>)
archive/2024/01/1.2024 - COCI '23 Contest 3/restorani.rs:28
↓ 21 callers
Method
power
(&mut self, temp: &mut Matrix, n: i64, m: &Matrix)
archive/2022/2/23.2.2022 - Stage 10_ Grand Prix of Kyoto/m_math_string.rs:44
↓ 21 callers
Method
prime_divisors
(self)
algo_lib/src/numbers/primes/factorize.rs:15
↓ 21 callers
Method
square
(self)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:1834
↓ 21 callers
Method
strongly_connected_components
(&self)
algo_lib/src/graph/strongly_connected_components.rs:18
↓ 20 callers
Function
divisor_table
(n: usize)
algo_lib/src/numbers/primes/sieve.rs:28
↓ 20 callers
Method
first
(&self)
algo_lib/src/collections/multi_set.rs:166
↓ 20 callers
Method
union
(a: Self, _b: Self)
archive/2025/01/02.01.2025 - Happy New Year 2025/roy_and_tree_permutation.rs:31
↓ 19 callers
Function
by_index
(arr: &[T])
algo_lib/src/collections/default_map.rs:116
↓ 19 callers
Function
calc
(t: &Arr2d<u8>)
archive/2026/06/2026.06.26 - Qualification 2026/t_table_drawing.rs:16
↓ 19 callers
Method
copy_find
(&'a self, val: T)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:507
↓ 19 callers
Method
for_each_mut
( &mut self, range: RangeInclusive<usize>, f: impl FnMut(R, &mut Node, PathDirection)
algo_lib/src/graph/path_segment_tree.rs:135
↓ 19 callers
Method
iter_mut
(&mut self)
algo_lib/src/graph/mod.rs:550
↓ 19 callers
Method
len
(&self)
algo_lib/src/collections/treap/treap_map.rs:45
↓ 19 callers
Method
len
(&self)
algo_lib/src/string/hash.rs:119
↓ 18 callers
Method
as_ref
(&self)
algo_lib/src/misc/maybe.rs:25
↓ 18 callers
Method
component_size
(&self, u: usize)
algo_lib/src/collections/euler_tour_tree.rs:394
↓ 18 callers
Method
copy_fold
(&'a self, init: Acc, f: F)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:489
↓ 18 callers
Method
copy_skip
( &'a self, n: usize, )
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:394
↓ 18 callers
Method
divisors
(self)
algo_lib/src/numbers/primes/factorize.rs:65
↓ 18 callers
Method
flow
(&self, graph: &Graph<Self>)
algo_lib/src/graph/edges/flow_edge.rs:93
↓ 18 callers
Method
id
(a: usize, val: bool)
algo_lib/src/graph/two_sat.rs:75
↓ 18 callers
Method
iter_rev
(self)
algo_lib/src/collections/iter_ext/iters.rs:7
↓ 18 callers
Method
lcp
(&self, p1: usize, p2: usize)
algo_lib/src/string/suffix_array.rs:40
↓ 18 callers
Method
qty
(&self, bounds: impl RangeBounds<u8>)
algo_lib/src/string/qty.rs:10
↓ 18 callers
Method
read_char
(&mut self)
algo_lib/src/io/input.rs:158
↓ 18 callers
Method
remove
(&mut self, value: &T)
algo_lib/src/collections/multi_set.rs:27
↓ 18 callers
Method
size
(&self)
algo_lib/src/collections/treap/treap.rs:216
↓ 18 callers
Method
update
(&mut self, res: i64, max: i64)
archive/2024/09/27.09.2024 - Codeforces Round #975/d_maksimum_minimum_kolichestvo.rs:35
↓ 17 callers
Function
add
(st: &mut SegmentTree<Node>, i: usize)
archive/2025/05/11.05.2025 - Codeforces Round 1024 (Div. 1)/c_23_.rs:32
↓ 17 callers
Method
cmp
(&self, other: &Self)
archive/2022/12/12.2022 - Advent of Code/day13.rs:16
↓ 17 callers
Method
copy_enumerate
( &'a self, )
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:383
↓ 17 callers
Method
minimal_spanning_tree
(&self)
algo_lib/src/graph/minimal_spanning_tree.rs:13
↓ 17 callers
Method
num
(&self)
algo_lib/src/numbers/rational.rs:24
↓ 17 callers
Method
power
(a: Self, n: usize)
archive/2025/03/10.03.2025 - Codeforces Round 1008 (Div. 1)/c_binary_subsequence_value_sum.rs:65
↓ 17 callers
Method
read_lines
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:2360
↓ 17 callers
Method
topological_sort
(&self)
algo_lib/src/graph/topological_sort.rs:10
↓ 16 callers
Method
add
(left: Self, right: Self)
archive/2021/12/Advent of Code/day18a.rs:140
↓ 16 callers
Method
add_back
(&mut self, payload: P)
algo_lib/src/collections/treap/treap.rs:762
↓ 16 callers
Method
capacity
(&self)
algo_lib/src/graph/edges/flow_edge.rs:85
↓ 16 callers
Method
column
(arr: &[T])
archive/2026/03/2026.03.16 - Educational Codeforces Round 188 (Rated for Div. 2)/g_grid_path.rs:37
↓ 16 callers
Method
copy_min
(&'a self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:443
↓ 16 callers
Method
copy_take
( &'a self, n: usize, )
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:400
↓ 16 callers
Method
iter
(&self)
algo_lib/src/collections/bit_set.rs:102
↓ 16 callers
Method
iter_enumerate
(self)
algo_lib/src/collections/iter_ext/iters.rs:4
↓ 16 callers
Method
next_permutation
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:453
↓ 16 callers
Function
primes
(n: usize)
algo_lib/src/numbers/primes/sieve.rs:24
↓ 16 callers
Method
push
(&mut self, delta: &(i32, i32), _left: usize, _right: usize)
archive/2024/10/01.10.2024 - TheForces Round #35/e_innocent_students.rs:83
↓ 16 callers
Method
rows
(&self)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:247
↓ 16 callers
Method
set_count
(&self)
algo_lib/src/collections/dsu.rs:35
↓ 16 callers
Method
swap
(&mut self)
archive/2022/5/19.5.2022 - Sort Me Round #6/d.rs:131
↓ 15 callers
Method
add
(&mut self, mut l: usize, mut r: usize)
algo_lib/tests/triangle_count_hard.rs:23
↓ 15 callers
Method
all_matches
(&self, pattern: &Self)
algo_lib/src/string/string_algorithms/string_search.rs:21
↓ 15 callers
Function
compress
(vs: [&[T]; N])
algo_lib/src/collections/slice_ext/compress.rs:10
↓ 15 callers
Method
copy_rev
(&'a self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:388
↓ 15 callers
Method
edge_at
Edge access by (vertex, cursor). For Linked storage the cursor is a global edge id and the vertex is ignored. For TwoD storage the cursor is a positio
algo_lib/src/graph/mod.rs:310
↓ 15 callers
Function
go
(pos: i64)
archive/2025/11/15.11.2025 - CCC/level_4.rs:16
↓ 15 callers
Method
into_node
(mut self)
algo_lib/src/collections/treap/treap.rs:584
↓ 15 callers
Method
max_position
(&'a self)
algo_lib/src/collections/iter_ext/min_max.rs:7
↓ 15 callers
Method
next
(&mut self, key: &T)
algo_lib/src/collections/treap/treap_map.rs:110
↓ 15 callers
Method
reverse
(&mut self)
algo_lib/src/collections/treap/treap.rs:64
↓ 15 callers
Method
square_dist_point
(&self, p: Point<T>)
algo_lib/src/geometry/ray.rs:63
↓ 15 callers
Method
str_contains
(&self, pattern: &Self)
algo_lib/src/string/string_algorithms/string_search.rs:6
↓ 15 callers
Method
union
(a: Self, _b: Self)
algo_lib/tests/roy_and_tree_permutation.rs:31
↓ 15 callers
Method
with_component_mut
(&self, u: usize, f: impl FnOnce(&mut P) -> R)
algo_lib/src/collections/euler_tour_tree.rs:356
↓ 15 callers
Method
with_payload_mut
(mut self, f: impl FnOnce(&mut P) -> R)
algo_lib/src/collections/link_cut.rs:349
↓ 14 callers
Method
as_mut
(&mut self)
algo_lib/src/collections/md_arr/arr2d.rs:198
↓ 14 callers
Method
as_mut
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:364
↓ 14 callers
Method
col
(&self, col: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:234
↓ 14 callers
Method
link
(mut self, parent: Self)
algo_lib/src/collections/link_cut.rs:328
↓ 14 callers
Method
merge
(&mut self, mut other: Self)
archive/2025/11/01.11.2025 - GP of Chengdu/l_label_matching.rs:53
↓ 14 callers
Function
process
(it: impl Iterator<Item = &'a i64>)
archive/2022/10/7.10.2022 - Codeforces Round #822/d_slime_escape.rs:14
↓ 14 callers
Method
push
(&mut self, delta: (Int, Int), _left: usize, _right: usize)
archive/2024/08/24.08.2024 - AtCoder Beginner Contest #368/g_add_and_multiply_queries.rs:89
↓ 14 callers
Method
read_line
(&mut self)
algo_lib/src/string/str.rs:129
↓ 14 callers
Method
read_real_vec
(&mut self, n: usize)
algo_lib/src/numbers/real.rs:205
↓ 14 callers
Method
remove
(&mut self, x: usize)
archive/2024/11/02.11.2024 - Meta Hacker Cup 2024 Round 3/b_least_common_ancestor.rs:56
↓ 14 callers
Method
take
(&mut self)
algo_lib/src/collections/indexed_heap.rs:40
↓ 14 callers
Function
value
(id: usize, at: i64)
archive/2024/Yandex CodeRun/coderun_433.rs:35
↓ 13 callers
Method
add
(&mut self, a: &Matrix<T>, b: &Matrix<T>)
archive/2026/03/2026.03.16 - Educational Codeforces Round 188 (Rated for Div. 2)/g_grid_path.rs:98
↓ 13 callers
Method
add_or
(&mut self, a: usize, a_val: bool, b: usize, b_val: bool)
algo_lib/src/graph/two_sat.rs:20
↓ 13 callers
Method
cols
(&self)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:250
← previous
next →
201–300 of 16,849, ranked by callers