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
↓ 13 callers
Method
copy_zip
( &'a self, other: &'a V, )
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:418
↓ 13 callers
Function
g
(mut x: usize)
archive/2023/4/1.4.2023 - Universal Cup Stage #10/d.rs:27
↓ 13 callers
Function
get
(tree: &[i64], l: usize, r: usize)
archive/2022/9/7.9.2022 - Codeforces Round #819/f_opozdat_na_rabotu.rs:83
↓ 13 callers
Method
hl_decomposition
(&self)
algo_lib/src/graph/hl_decomposition.rs:140
↓ 13 callers
Method
into_iter
(self)
algo_lib/src/graph/mod.rs:450
↓ 13 callers
Method
iter_int
(&'t mut self)
algo_lib/src/io/input_iter.rs:21
↓ 13 callers
Method
lower_sqrt
(self)
algo_lib/src/numbers/integer_sqrt.rs:7
↓ 13 callers
Method
point_through_update
(&mut self, vertex: usize, f: impl FnMut(&mut Node))
algo_lib/src/graph/path_segment_tree.rs:82
↓ 13 callers
Method
rebuild
(&mut self)
algo_lib/src/collections/treap/treap.rs:599
↓ 13 callers
Method
reduce
(&mut self)
archive/2021/12/Advent of Code/day18a.rs:126
↓ 13 callers
Method
replace_with
(&mut self, f: F)
algo_lib/src/misc/extensions/replace_with.rs:4
↓ 13 callers
Method
set
(&mut self)
archive/Kattis/Legacy/bit_by_bit.rs:30
↓ 13 callers
Method
union
(a: Self, b: Self)
archive/2026/04/2026.04.25 - Spectral__Cup 2026 Round 1 (Codeforces Round 1094, Div. 1 + Div. 2)/g_statistics_on_tree.rs:80
↓ 13 callers
Method
with_payload
(from: usize, to: usize, payload: P)
algo_lib/src/graph/edges/edge.rs:25
↓ 13 callers
Method
z_algorithm
(&self)
algo_lib/src/string/string_algorithms/z_algorithm.rs:11
↓ 12 callers
Method
add_or_relax
(&mut self, el: usize, val: T)
algo_lib/src/collections/indexed_heap.rs:104
↓ 12 callers
Method
attach_left
(&mut self, left: LinkCutNode<P>)
algo_lib/src/collections/link_cut.rs:104
↓ 12 callers
Method
attach_right
(&mut self, right: LinkCutNode<P>)
algo_lib/src/collections/link_cut.rs:114
↓ 12 callers
Method
get_at
(&mut self, at: usize)
algo_lib/src/collections/treap/treap.rs:853
↓ 12 callers
Method
next
(&mut self)
archive/2026/05/2026.05.16 - GP of Wulin/b_cloud_ascending_platform.rs:29
↓ 12 callers
Method
path_segment_tree_with_gen
( &self, include_lca: bool, g: impl FnMut(usize) -> Node, )
algo_lib/src/graph/path_segment_tree.rs:291
↓ 12 callers
Method
print_per_line
(&mut self, arg: &[T])
algo_lib/src/io/output.rs:122
↓ 12 callers
Method
push
(&mut self, _delta: ())
archive/2024/12/03.12.2024 - Yandex Cup 2024 — Algorithm — Final/a_adventurers.rs:44
↓ 12 callers
Method
raw
(&self, i: usize)
algo_lib/src/collections/bit_set.rs:160
↓ 12 callers
Method
set_precision
(&mut self, precision: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:1217
↓ 12 callers
Method
unwrap
(self)
algo_lib/src/string/str.rs:18
↓ 12 callers
Method
value
(&self)
archive/2026/03/2026.03.20 - Basecamp - Educational Round #9/interval_less_query.rs:26
↓ 11 callers
Method
add
(mut self, rhs: Self)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:2029
↓ 11 callers
Method
all_distances
(&self)
algo_lib/src/graph/all_distances.rs:13
↓ 11 callers
Method
bridges
(&self)
algo_lib/src/graph/bridges.rs:12
↓ 11 callers
Method
edge_count
(&self)
algo_lib/src/graph/mod.rs:220
↓ 11 callers
Method
flush
(&mut self)
tester/src/interactive.rs:197
↓ 11 callers
Method
gen_range
( &mut self, range: impl RangeBounds, )
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:1119
↓ 11 callers
Function
graph
()
algo_lib/src/graph/path_segment_tree.rs:347
↓ 11 callers
Function
iterate_with_base
( mut from: T, mut to: T, base: T, )
algo_lib/src/numbers/number_iterator.rs:8
↓ 11 callers
Method
len
(&self)
archive/2025/02/20.02.2025 - Dilhan's Computing Contest 1/p6_subsequence_reversal.rs:33
↓ 11 callers
Method
print_line_iter
(&mut self, iter: I)
algo_lib/src/io/output.rs:138
↓ 11 callers
Method
solve
(&self)
algo_lib/src/graph/two_sat.rs:83
↓ 11 callers
Method
union
(a: Self, b: Self)
archive/2025/03/10.03.2025 - Codeforces Round 1008 (Div. 1)/e_another_folding_strip.rs:53
↓ 11 callers
Method
union
(a: Self, b: Self)
archive/2025/11/06.11.2025 - Codeforces Global Round 30 (Div. 1 + Div. 2)/f1_chain_prefix_rank_easy_version_.rs:60
↓ 11 callers
Method
update
(&mut self, left: Option<&Self>, right: Option<&Self>)
algo_lib/tests/f_flip.rs:29
↓ 11 callers
Function
verify_remainder
(a1: i64, n1: i64, a2: i64, n2: i64)
algo_lib/src/numbers/gcd.rs:43
↓ 10 callers
Method
add
(&mut self, val: usize, bit: usize)
archive/2025/12/2025.12 - CodeRun Winter Challenge/coderun20.rs:54
↓ 10 callers
Method
add_edge
(&mut self, a: usize, a_val: bool, b: usize, b_val: bool)
algo_lib/src/graph/two_sat.rs:29
↓ 10 callers
Function
all_divisors
(n: usize, sorted: bool)
algo_lib/src/numbers/primes/factorize.rs:99
↓ 10 callers
Function
build
(h: &[usize])
archive/Kattis/2026.05.21/nine_packs.rs:15
↓ 10 callers
Function
clamp
(range: &impl RangeBounds<usize>, n: usize)
algo_lib/src/collections/bounds.rs:3
↓ 10 callers
Method
cmp
(&self, other: &Self)
archive/2026/03/2026.03.20 - Basecamp - Educational Round #9/interval_less_query.rs:41
↓ 10 callers
Method
cut
(mut self)
algo_lib/src/collections/link_cut.rs:321
↓ 10 callers
Method
detach_parent
(&mut self)
algo_lib/src/collections/link_cut.rs:87
↓ 10 callers
Method
dfs_order
(&self)
algo_lib/src/graph/dfs_order.rs:23
↓ 10 callers
Function
digits
( mut copy: S, )
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:1816
↓ 10 callers
Method
edges
Iterator over `(from, &edge)` pairs covering every stored edge entry (i.e. both directions of an undirected edge are yielded).
algo_lib/src/graph/mod.rs:249
↓ 10 callers
Method
get
(&mut self, el: T)
algo_lib/src/collections/id.rs:24
↓ 10 callers
Method
indices
(&self)
algo_lib/src/collections/md_arr/arr2d.rs:149
↓ 10 callers
Function
intersect
(a: &Str, b: &Str)
archive/2024/08/15.08.2024 - Educational Codeforces Round 169 (Rated for Div. 2)/d_tsvetnie_portali.rs:23
↓ 10 callers
Method
inv
(&self)
algo_lib/src/numbers/real.rs:162
↓ 10 callers
Method
iter_size
(&'t mut self)
algo_lib/src/io/input_iter.rs:27
↓ 10 callers
Method
len
(&self)
algo_lib/src/string/suffix_array.rs:27
↓ 10 callers
Function
mult
(a: &Arr2d<f64>, b: &Arr2d<f64>)
archive/2022/1/15.1.2022 - SNWS-2022, Round 2/c_cleric.rs:29
↓ 10 callers
Function
primality_table
(n: usize)
algo_lib/src/numbers/primes/sieve.rs:3
↓ 10 callers
Method
print_per_line_iter
(&mut self, iter: I)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:1208
↓ 10 callers
Method
push
(&mut self, delta: &i32, _left: usize, _right: usize)
archive/2024/03/15.3.2024 - Coding Challenge Alpha V - by AlgoRave/g_most_expensive_item.rs:54
↓ 10 callers
Method
push_flow
(&mut self, (to, reverse_id, flow): (usize, usize, C))
algo_lib/src/graph/flow_graph.rs:15
↓ 10 callers
Method
put
(&mut self, b: u8)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:964
↓ 10 callers
Method
read_table
(&mut self, d1: usize, d2: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:407
↓ 10 callers
Method
set_bool_output
(&mut self, bool_output: BoolOutput)
algo_lib/src/io/output.rs:150
↓ 10 callers
Method
swap
(&mut self)
archive/2026/06/2026.06.12 - Codeforces Round 1103 (Div. 3)/g_criterion_in_burlandia.rs:103
↓ 10 callers
Method
two_mut
(&mut self, i: usize, j: usize)
algo_lib/src/collections/slice_ext/splits.rs:7
↓ 10 callers
Method
union
(&mut self, a: usize, b: usize)
algo_lib/src/collections/dsu_rollback.rs:25
↓ 10 callers
Method
unset
(&mut self, at: usize)
algo_lib/src/collections/bit_set.rs:40
↓ 10 callers
Method
update
(&mut self, _left: Option<&Self>, _right: Option<&Self>)
archive/2025/01/GoForGold Long Challenge - January 2025/e_fog_canyon.rs:19
↓ 10 callers
Method
val
(&self)
algo_lib/src/collections/indexed_heap.rs:25
↓ 10 callers
Method
value
(&self, p: Point<T>)
algo_lib/src/geometry/line.rs:35
↓ 10 callers
Method
with
(self, f: F)
algo_lib/src/misc/extensions/with.rs:2
↓ 9 callers
Method
accumulate
(&mut self, delta: &Self)
algo_lib/src/collections/payload.rs:67
↓ 9 callers
Method
add_to_hash
(&mut self, i: usize)
algo_lib/src/collections/fx_hash_map.rs:40
↓ 9 callers
Method
add_to_hash
(&mut self, i: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:119
↓ 9 callers
Method
add_to_hash
(&mut self, i: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:197
↓ 9 callers
Method
add_to_hash
(&mut self, i: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/f.rs:139
↓ 9 callers
Method
angle
(&self)
algo_lib/src/geometry/ray.rs:95
↓ 9 callers
Method
copy_position
(&'a self, predicate: P)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:501
↓ 9 callers
Method
den
(&self)
algo_lib/src/numbers/rational.rs:28
↓ 9 callers
Method
deref_mut
(&mut self)
archive/2022/2/23.2.2022 - Stage 10_ Grand Prix of Kyoto/m_math_string.rs:24
↓ 9 callers
Method
fwht
(&mut self, inverse: bool)
algo_lib/src/numbers/fwht.rs:9
↓ 9 callers
Method
inv_fact
(&self, n: usize)
algo_lib/src/numbers/mod_int/mod_utils.rs:76
↓ 9 callers
Method
is_empty
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:613
↓ 9 callers
Method
len
(&self)
algo_lib/src/geometry/segment.rs:134
↓ 9 callers
Method
pop_first
(&mut self)
algo_lib/src/collections/multi_set.rs:176
↓ 9 callers
Method
range
(&'s mut self, bounds: impl RangeBounds<&'r P::Key>)
algo_lib/src/collections/treap/treap.rs:897
↓ 9 callers
Method
set_true
(&mut self, a: usize)
algo_lib/src/graph/two_sat.rs:34
↓ 9 callers
Method
shift_left_or
(&mut self, rhs: usize)
algo_lib/src/collections/bit_set.rs:118
↓ 9 callers
Method
split_at
(self, mut at: usize)
algo_lib/src/collections/treap/treap.rs:432
↓ 9 callers
Method
square_dist_point
(&self, p: Point<T>)
algo_lib/src/geometry/segment.rs:95
↓ 9 callers
Method
sum
(&mut self)
archive/2025/03/10.03.2025 - Codeforces Round 1008 (Div. 1)/e_another_folding_strip.rs:112
↓ 9 callers
Method
update
(&mut self, left: Option<&Self>, right: Option<&Self>)
archive/2024/12/01.12.2024 - CZOI Round 2/t482848_czoir2.rs:37
↓ 9 callers
Method
update
(&mut self, from: usize, to: usize, hash: Mod, mult: Mod)
archive/2021/12/18.12.2021 - Data Structures and Algorithms Coding Contest/finding_strings.rs:102
↓ 9 callers
Method
with_node
(&self, u: usize, f: impl FnOnce(&P) -> R)
algo_lib/src/collections/euler_tour_tree.rs:341
↓ 8 callers
Method
access
(mut self)
algo_lib/src/collections/link_cut.rs:293
↓ 8 callers
Method
add
(&mut self, a: usize, b: usize, w: u64)
archive/2026/05/2026.05.16 - GP of Wulin/b_cloud_ascending_platform.rs:326
← previous
next →
301–400 of 16,849, ranked by callers