Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arnauddri/algorithms
/ functions
Functions
292 in github.com/arnauddri/algorithms
⨍
Functions
292
◇
Types & classes
27
↓ 33 callers
Method
GetElm
(i int, j int)
data-structures/matrix/matrix.go:51
↓ 32 callers
Method
Insert
(el Item)
data-structures/priority-queue/priority_queue.go:44
↓ 30 callers
Function
NewItem
(value interface{}, priority int)
data-structures/priority-queue/priority_queue.go:13
↓ 25 callers
Method
AddEdge
(from, to VertexId, weight int)
data-structures/graph/graph.go:107
↓ 22 callers
Method
Insert
(n Item)
data-structures/heap/heap.go:49
↓ 22 callers
Function
NewNode
(value interface{})
data-structures/linked-list/linked_list.go:25
↓ 22 callers
Method
SetElm
(i int, j int, v float64)
data-structures/matrix/matrix.go:55
↓ 18 callers
Method
AddVertex
(vertex VertexId)
data-structures/graph/graph.go:72
↓ 17 callers
Method
Len
()
data-structures/heap/heap.go:41
↓ 14 callers
Method
Add
(value interface{}, index int)
data-structures/linked-list/linked_list.go:70
↓ 14 callers
Function
MakeMatrix
(Elements []float64, rows, cols int)
data-structures/matrix/matrix.go:34
↓ 13 callers
Method
VerticesIter
()
data-structures/graph/graph.go:27
↓ 11 callers
Method
Push
(el interface{})
data-structures/stack/stack.go:42
↓ 10 callers
Method
Get
(index int)
data-structures/linked-list/linked_list.go:129
↓ 10 callers
Method
Len
()
data-structures/linked-list/linked_list.go:29
↓ 9 callers
Function
benchmarkGetAllPrimesTo
(n int, b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:10
↓ 9 callers
Function
mul
(a, b *big.Int)
algorithms/maths/karatsuba/karatsuba.go:55
↓ 9 callers
Function
slice
(args ...interface{})
data-structures/linked-list/linked_list_test.go:114
↓ 8 callers
Method
IsEdge
(from, to VertexId)
data-structures/graph/graph.go:156
↓ 8 callers
Function
makePoint
(x float64, y float64)
algorithms/maths/closest-pair/closest_pair.go:17
↓ 8 callers
Function
recurse
(a, b int)
algorithms/maths/stein/gcd.go:5
↓ 7 callers
Method
Compare
(m *Node)
data-structures/binary-tree/bst.go:16
↓ 7 callers
Function
benchmarkIter
(n int, b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:29
↓ 7 callers
Function
benchmarkMatrix
(n int, b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:41
↓ 6 callers
Method
Get
(n int)
data-structures/heap/heap.go:45
↓ 6 callers
Method
Insert
(i int)
data-structures/binary-tree/bst.go:38
↓ 6 callers
Method
Put
(key, value string)
data-structures/hash-tables/ht.go:39
↓ 6 callers
Function
RSelect
(arr []int, n, i int)
algorithms/maths/RSelect/RSelect.go:7
↓ 5 callers
Method
Append
(value interface{})
data-structures/linked-list/linked_list.go:53
↓ 5 callers
Method
Extract
()
data-structures/priority-queue/priority_queue.go:48
↓ 5 callers
Method
Pop
()
data-structures/stack/stack.go:33
↓ 5 callers
Function
add
(a, b *big.Int)
algorithms/maths/karatsuba/karatsuba.go:51
↓ 5 callers
Function
iter
(a, b int)
algorithms/maths/stein/gcd.go:32
↓ 5 callers
Function
k_multiply
(a, b *big.Int)
algorithms/maths/karatsuba/karatsuba.go:9
↓ 4 callers
Method
Extract
()
data-structures/heap/heap.go:59
↓ 4 callers
Function
FloatArrayEquals
(a []float64, b []float64)
data-structures/matrix/matrix_test.go:95
↓ 4 callers
Method
GetNeighbours
(vertex VertexId)
data-structures/graph/graph.go:179
↓ 4 callers
Method
Len
()
data-structures/priority-queue/priority_queue.go:40
↓ 4 callers
Function
Multiply
(A *matrix.Matrix, B *matrix.Matrix)
algorithms/maths/strassen/strassen.go:8
↓ 4 callers
Method
Prepend
(value interface{})
data-structures/linked-list/linked_list.go:37
↓ 4 callers
Method
Search
(i int)
data-structures/binary-tree/bst.go:70
↓ 4 callers
Function
benchmarkBubbleSort
(n int, b *testing.B)
algorithms/sorting/bubble-sort/bubble_test.go:22
↓ 4 callers
Function
benchmarkHeapSort
(n int, b *testing.B)
algorithms/sorting/heap-sort/heap_test.go:22
↓ 4 callers
Function
benchmarkInsertionSort
(n int, b *testing.B)
algorithms/sorting/insertion-sort/insertion_test.go:22
↓ 4 callers
Function
benchmarkMergeSort
(n int, b *testing.B)
algorithms/sorting/merge-sort/merge_test.go:22
↓ 4 callers
Function
benchmarkQuickSort
(n int, b *testing.B)
algorithms/sorting/quick-sort/quick_test.go:22
↓ 4 callers
Function
benchmarkSelectionSort
(n int, b *testing.B)
algorithms/sorting/selection-sort/selection_test.go:22
↓ 4 callers
Function
benchmarkShellSort
(n int, b *testing.B)
algorithms/sorting/shell-sort/shell_test.go:22
↓ 4 callers
Function
makePair
(A point, B point)
algorithms/maths/closest-pair/closest_pair.go:40
↓ 3 callers
Function
BruteForce
(P []point)
algorithms/maths/closest-pair/closest_pair.go:144
↓ 3 callers
Method
CheckVertex
(vertex VertexId)
data-structures/graph/graph.go:60
↓ 3 callers
Method
CountRows
()
data-structures/matrix/matrix.go:43
↓ 3 callers
Method
Each
(f func(node Node))
data-structures/linked-list/linked_list.go:182
↓ 3 callers
Function
FloatArrayEquals
(a []float64, b []float64)
algorithms/maths/strassen/strassen_test.go:37
↓ 3 callers
Method
Get
(key string)
data-structures/hash-tables/ht.go:28
↓ 3 callers
Method
GetSuccessors
(vertex VertexId)
data-structures/graph/directed_graph.go:36
↓ 3 callers
Method
Len
()
data-structures/stack/stack.go:19
↓ 3 callers
Method
Len
()
data-structures/queue/queue.go:20
↓ 3 callers
Method
Less
(a, b Item)
data-structures/heap/heap.go:106
↓ 3 callers
Method
Map
(f func(node *Node))
data-structures/linked-list/linked_list.go:175
↓ 3 callers
Method
Push
(el interface{})
data-structures/queue/queue.go:43
↓ 3 callers
Method
TouchVertex
(vertex VertexId)
data-structures/graph/graph.go:66
↓ 3 callers
Function
divide
(a, b int)
algorithms/maths/euclide/extended_gcd.go:5
↓ 3 callers
Function
getCoeff
(a, b int)
algorithms/maths/euclide/extended_gcd.go:13
↓ 3 callers
Function
getIter
(n int)
algorithms/maths/fibonacci/fibonacci.go:8
↓ 3 callers
Function
getMatrix
(n int)
algorithms/maths/fibonacci/fibonacci.go:31
↓ 3 callers
Function
getRecurse
(n int)
algorithms/maths/fibonacci/fibonacci.go:20
↓ 3 callers
Function
hashCode
Horner's Method to hash string of length L (O(L))
data-structures/hash-tables/ht.go:110
↓ 3 callers
Function
newton_sqrt
(n float64, precision, maxIterations float64)
algorithms/maths/newton-sqrt/newton_sqrt.go:7
↓ 3 callers
Method
position
(s string)
data-structures/hash-tables/ht.go:88
↓ 2 callers
Method
ChangePriority
(val interface{}, priority int)
data-structures/priority-queue/priority_queue.go:52
↓ 2 callers
Function
DivideAndConquer
(P []point)
algorithms/maths/closest-pair/closest_pair.go:60
↓ 2 callers
Method
EdgesIter
()
data-structures/graph/graph.go:23
↓ 2 callers
Method
IsVertex
(vertex VertexId)
data-structures/graph/graph.go:97
↓ 2 callers
Method
Less
(than Item)
data-structures/heap/heap.go:8
↓ 2 callers
Function
NewDirected
()
data-structures/graph/directed_graph.go:7
↓ 2 callers
Function
NewList
()
data-structures/linked-list/linked_list.go:13
↓ 2 callers
Function
NewMax
()
data-structures/priority-queue/priority_queue.go:28
↓ 2 callers
Function
NewNode
(i int)
data-structures/binary-tree/bst.go:12
↓ 2 callers
Method
Order
()
data-structures/graph/graph.go:167
↓ 2 callers
Method
Remove
(value interface{})
data-structures/linked-list/linked_list.go:101
↓ 2 callers
Method
RemoveEdge
(from, to VertexId)
data-structures/graph/graph.go:137
↓ 2 callers
Method
RemoveVertex
(vertex VertexId)
data-structures/graph/graph.go:83
↓ 2 callers
Method
Reverse
()
data-structures/graph/directed_graph.go:55
↓ 2 callers
Method
Shift
()
data-structures/queue/queue.go:34
↓ 2 callers
Function
ShortestPath
(g *graph.DirGraph, start graph.VertexId)
algorithms/graphs/bfs-shortest-path/bfs_shortest_path.go:8
↓ 2 callers
Function
_multiplyMatrix
(A [4]int, B [4]int)
algorithms/maths/fibonacci/fibonacci.go:72
↓ 2 callers
Function
_split
(a *big.Int, m uint)
algorithms/maths/karatsuba/karatsuba.go:31
↓ 2 callers
Function
fast_power
Recursive - O(log n)
algorithms/maths/fast-power/fast_power.go:9
↓ 2 callers
Method
find
(i int, key string)
data-structures/hash-tables/ht.go:92
↓ 2 callers
Function
getAllPrimesTo
(n int)
algorithms/maths/eratosthenes-sieve/primes.go:7
↓ 2 callers
Function
iterativeCount
(array []int)
algorithms/maths/permutations-count/permutations.go:46
↓ 2 callers
Function
recursiveCount
(a []int)
algorithms/maths/permutations-count/permutations.go:5
↓ 2 callers
Function
search
(sortedArray []int, el int)
algorithms/searching/binary-search/binary_search.go:5
↓ 2 callers
Function
slow_power
Iterative - O(n)
algorithms/maths/fast-power/fast_power.go:39
↓ 2 callers
Function
sort
(arr []int)
algorithms/sorting/insertion-sort/insertion.go:5
↓ 2 callers
Function
sort
(arr []int)
algorithms/sorting/merge-sort/merge.go:3
↓ 2 callers
Function
sort
(arr []int)
algorithms/sorting/selection-sort/selection.go:3
↓ 2 callers
Function
sort
(arr []int)
algorithms/sorting/heap-sort/heap.go:7
↓ 2 callers
Function
sort
(arr []int)
algorithms/sorting/bubble-sort/bubble.go:8
next →
1–100 of 292, ranked by callers