Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithm-archivists/algorithm-archive
/ functions
Functions
774 in github.com/algorithm-archivists/algorithm-archive
⨍
Functions
774
◇
Types & classes
154
↓ 43 callers
Method
size
()
contents/stacks_and_queues/code/java/QueueTest.java:37
↓ 37 callers
Method
push
(T element)
contents/stacks_and_queues/code/java/StackTest.java:31
↓ 36 callers
Function
abs
(a int)
contents/euclidean_algorithm/code/go/euclidean.go:7
↓ 20 callers
Method
pop
()
contents/stacks_and_queues/code/java/StackTest.java:26
↓ 12 callers
Method
getX
()
contents/jarvis_march/code/java/JarvisMarch.java:14
↓ 12 callers
Method
toString
()
contents/stable_marriage_problem/code/java/stable-marriage.java:103
↓ 10 callers
Method
getY
()
contents/jarvis_march/code/java/JarvisMarch.java:17
↓ 8 callers
Method
count
(&self)
contents/huffman_encoding/code/rust/huffman.rs:71
↓ 8 callers
Method
getChildren
()
contents/tree_traversal/code/php/tree_traversal.php:20
↓ 7 callers
Method
empty
contents/stacks_and_queues/code/cpp/stack.cpp:61
↓ 7 callers
Method
enqueue
(T element)
contents/stacks_and_queues/code/java/QueueTest.java:31
↓ 7 callers
Method
getId
()
contents/tree_traversal/code/php/tree_traversal.php:15
↓ 7 callers
Function
swap
contents/huffman_encoding/code/c/huffman.c:34
↓ 6 callers
Method
Add
(Node newNode)
contents/huffman_encoding/code/csharp/HuffmanCoding.cs:64
↓ 6 callers
Function
convolve_linear
(signal, filter, output_size)
contents/convolutions/2d/code/python/2d_convolution.py:5
↓ 6 callers
Function
shuffle
contents/stable_marriage_problem/code/c/stable_marriage.c:14
↓ 5 callers
Method
front
()
contents/stacks_and_queues/code/java/QueueTest.java:42
↓ 5 callers
Method
push
(self, element: T)
contents/stacks_and_queues/code/python/stack.py:18
↓ 5 callers
Function
sum_matrix_dimensions
(mat1, mat2)
contents/convolutions/2d/code/python/2d_convolution.py:42
↓ 4 callers
Method
Pop
()
contents/huffman_encoding/code/go/huffman.go:30
↓ 4 callers
Method
Push
(x interface{})
contents/huffman_encoding/code/go/huffman.go:22
↓ 4 callers
Method
dequeue
()
contents/stacks_and_queues/code/java/QueueTest.java:26
↓ 4 callers
Function
fft
contents/split-operator_method/code/cpp/split_op.cpp:82
↓ 4 callers
Function
fft
(x: &mut Vec<Complex<f64>>, inverse: bool)
contents/split-operator_method/code/rust/split_op.rs:93
↓ 4 callers
Function
fft
contents/split-operator_method/code/c/split_op.c:31
↓ 4 callers
Function
heap_pop
contents/huffman_encoding/code/c/huffman.c:81
↓ 4 callers
Method
size
()
contents/stacks_and_queues/code/java/StackTest.java:62
↓ 4 callers
Method
top
()
contents/stacks_and_queues/code/java/StackTest.java:41
↓ 3 callers
Method
Pop
()
contents/huffman_encoding/code/csharp/HuffmanCoding.cs:73
↓ 3 callers
Method
angle
(Point a, Point b, Point c)
contents/jarvis_march/code/java/JarvisMarch.java:34
↓ 3 callers
Method
enqueue
(self, element: T)
contents/stacks_and_queues/code/python/queue.py:18
↓ 3 callers
Method
enqueue
(data: T)
contents/stacks_and_queues/code/typescript/queue.ts:23
↓ 3 callers
Method
enqueue
(T element)
contents/stacks_and_queues/code/java/QueueTest.java:58
↓ 3 callers
Function
f
Function proportional to target distribution, a sum of Gaussians. For testing, set normalize to True, to get target distribution exactly.
contents/metropolis/code/python/metropolis.py:4
↓ 3 callers
Function
fft
contents/cooley_tukey/code/c/fft.c:9
↓ 3 callers
Function
find_neighbors
(canvas, p, old_val, new_val)
contents/flood_fill/code/python/flood_fill.py:10
↓ 3 callers
Function
find_neighbors
contents/flood_fill/code/cpp/flood_fill.cpp:19
↓ 3 callers
Function
find_neighbors
contents/flood_fill/code/c/flood_fill.c:28
↓ 3 callers
Method
generate
(size, prefix, r)
contents/stable_marriage_problem/code/ruby/stable_marriage.rb:27
↓ 3 callers
Method
getName
()
contents/stable_marriage_problem/code/php/stable_marriage.php:16
↓ 3 callers
Function
grid_cmp
contents/flood_fill/code/c/flood_fill.c:191
↓ 3 callers
Method
lonely?
contents/stable_marriage_problem/code/ruby/stable_marriage.rb:10
↓ 3 callers
Function
mod1
(x, y)
contents/convolutions/1d/code/python/1d_convolution.py:3
↓ 3 callers
Function
n
(v, a)
contents/approximate_counting/code/python/approximate_counting.py:7
↓ 3 callers
Function
n
This function takes - v: value in register - a: a scaling value for the logarithm based on Morris's paper It returns n(v,a), the approximate count
contents/approximate_counting/code/cpp/approximate_counting.cpp:22
↓ 3 callers
Function
n
This function takes - v: value in register - a: a scaling value for the logarithm based on Morris's paper It returns the approximate count
contents/approximate_counting/code/c/approximate_counting.c:17
↓ 3 callers
Method
n
(double v, double a)
contents/approximate_counting/code/java/ApproximateCounting.java:12
↓ 3 callers
Method
new
()
contents/stacks_and_queues/code/rust/Stack.rs:6
↓ 3 callers
Function
polar_angle
contents/graham_scan/code/c/graham.c:28
↓ 3 callers
Function
printMatrix
contents/gaussian_elimination/code/cpp/gaussian_elimination.cpp:75
↓ 3 callers
Function
printMatrix
(a [][]float64)
contents/gaussian_elimination/code/go/gaussian_elimination.go:108
↓ 3 callers
Method
push
(data: T)
contents/stacks_and_queues/code/typescript/stack.ts:23
↓ 3 callers
Method
push
(T element)
contents/stacks_and_queues/code/java/StackTest.java:57
↓ 3 callers
Method
testApproximateCount
(int nTrials, int nItems, double a, double threshold)
contents/approximate_counting/code/java/ApproximateCounting.java:59
↓ 3 callers
Function
test_approximate_count
(n_trials, n_items, a, threshold)
contents/approximate_counting/code/python/approximate_counting.py:37
↓ 3 callers
Function
test_approximate_count
This function takes - n_trials: the number of counting trials - n_items: the number of items to count to - a: a scaling value for the logarithm based
contents/approximate_counting/code/cpp/approximate_counting.cpp:52
↓ 3 callers
Function
test_approximate_count
This function takes - n_trials: the number of counting trials - n_items: the number of items to count to - a: a scaling value for the logarithm based
contents/approximate_counting/code/rust/approximate_counting.rs:45
↓ 3 callers
Function
test_approximation_count
This function takes - n_trials: the number of counting trials - n_items: the number off items to count - a: a scaling value for the logarithm based on
contents/approximate_counting/code/c/approximate_counting.c:57
↓ 2 callers
Method
Shuffle
(this IList<T> list, Random rng)
contents/stable_marriage_problem/code/csharp/ListExtensions.cs:8
↓ 2 callers
Function
_detect
Try to detect the kotlinc binary
builders/kotlin.py:44
↓ 2 callers
Function
approx
(x, y, tol = 1e-12)
contents/cooley_tukey/code/javascript/fft.js:82
↓ 2 callers
Function
approx
contents/cooley_tukey/code/c/fft.c:97
↓ 2 callers
Method
bfsQueue
()
contents/tree_traversal/code/java/Tree.java:83
↓ 2 callers
Function
computus
(year, servois=False)
contents/computus/code/python/gauss_easter.py:1
↓ 2 callers
Function
computus
contents/computus/code/cpp/gauss_easter.cpp:4
↓ 2 callers
Function
computus
(year: number, servois: boolean = false)
contents/computus/code/typescript/gauss_easter.ts:15
↓ 2 callers
Function
computus
* @param {number} year * @param {boolean} [servois=false] * @returns {string}
contents/computus/code/javascript/gauss_easter.js:23
↓ 2 callers
Function
computus
contents/computus/code/c/gauss_easter.c:3
↓ 2 callers
Function
convolve_linear
(signal, filter_array, output_size)
contents/convolutions/1d/code/python/1d_convolution.py:20
↓ 2 callers
Function
createTree
(rows, children)
contents/tree_traversal/code/javascript/tree.js:1
↓ 2 callers
Function
createTree
(numRow, numChild int)
contents/tree_traversal/code/go/treetraversal.go:62
↓ 2 callers
Function
create_circle
(image_resolution, grid_extents, radius)
contents/convolutions/2d/code/python/2d_convolution.py:55
↓ 2 callers
Function
create_gaussian_kernel
(kernel_size)
contents/convolutions/2d/code/python/2d_convolution.py:21
↓ 2 callers
Function
create_group
contents/stable_marriage_problem/code/c/stable_marriage.c:23
↓ 2 callers
Function
create_tree
(node, num_row, num_child)
contents/tree_traversal/code/python/tree_traversal.py:6
↓ 2 callers
Function
create_tree
contents/tree_traversal/code/cpp/tree_example.cpp:88
↓ 2 callers
Function
create_tree
(num_row: u64, num_child: u64)
contents/tree_traversal/code/rust/tree.rs:60
↓ 2 callers
Function
create_tree
contents/tree_traversal/code/c/tree_traversal.c:13
↓ 2 callers
Function
destroy_tree
contents/tree_traversal/code/c/tree_traversal.c:27
↓ 2 callers
Method
dfsRecursive
()
contents/tree_traversal/code/java/Tree.java:16
↓ 2 callers
Method
dfsRecursiveInOrderBinary
()
contents/tree_traversal/code/java/Tree.java:43
↓ 2 callers
Method
dfsRecursivePostOrder
()
contents/tree_traversal/code/java/Tree.java:29
↓ 2 callers
Method
dfsStack
()
contents/tree_traversal/code/java/Tree.java:67
↓ 2 callers
Function
drand
Returns a random double in [0, 1)
contents/IFS/code/cpp/IFS.cpp:25
↓ 2 callers
Function
drand
contents/IFS/code/c/IFS.c:10
↓ 2 callers
Function
duplicate
contents/huffman_encoding/code/c/huffman.c:55
↓ 2 callers
Method
encode
contents/huffman_encoding/code/cpp/huffman.cpp:184
↓ 2 callers
Method
engageTo
(other)
contents/stable_marriage_problem/code/javascript/stable-marriage.js:14
↓ 2 callers
Function
enqueue
contents/tree_traversal/code/c/utility.h:83
↓ 2 callers
Function
enqueue
contents/flood_fill/code/c/flood_fill.c:119
↓ 2 callers
Function
equal
contents/jarvis_march/code/c/jarvis_march.c:25
↓ 2 callers
Method
equal
(o point)
contents/jarvis_march/code/go/jarvis.go:23
↓ 2 callers
Function
free_group
contents/stable_marriage_problem/code/c/stable_marriage.c:78
↓ 2 callers
Function
generate_tree
(int $numOfRows, int $numOfChildren)
contents/tree_traversal/code/php/tree_traversal.php:105
↓ 2 callers
Method
getPreferences
()
contents/stable_marriage_problem/code/php/stable_marriage.php:31
↓ 2 callers
Method
getPreferredMates
()
contents/stable_marriage_problem/code/java/stable-marriage.java:99
↓ 2 callers
Function
get_code
contents/huffman_encoding/code/c/huffman.c:204
↓ 2 callers
Function
heap_free
contents/huffman_encoding/code/c/huffman.c:116
↓ 2 callers
Function
heap_push
contents/huffman_encoding/code/c/huffman.c:62
↓ 2 callers
Method
isSingle
()
contents/stable_marriage_problem/code/php/stable_marriage.php:36
next →
1–100 of 774, ranked by callers