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
↓ 2 callers
Function
sort
(arr []int)
algorithms/sorting/quick-sort/quick.go:3
↓ 2 callers
Function
sort
(arr []int)
algorithms/sorting/shell-sort/shell.go:3
↓ 2 callers
Function
sub
(a, b *big.Int)
algorithms/maths/karatsuba/karatsuba.go:59
↓ 2 callers
Method
toString
()
algorithms/maths/closest-pair/closest_pair.go:37
↓ 1 callers
Function
Bfs
(g *graph.DirGraph, start graph.VertexId, fn func(graph.VertexId))
algorithms/graphs/bfs/bfs.go:7
↓ 1 callers
Method
Clear
()
data-structures/linked-list/linked_list.go:163
↓ 1 callers
Method
Concat
(k *List)
data-structures/linked-list/linked_list.go:169
↓ 1 callers
Method
CountCols
()
data-structures/matrix/matrix.go:47
↓ 1 callers
Method
Del
(key string)
data-structures/hash-tables/ht.go:59
↓ 1 callers
Method
Delete
returns true if a node with value i was found and deleted and returns false otherwise
data-structures/binary-tree/bst.go:91
↓ 1 callers
Function
DirectedDfs
(g *graph.DirGraph, v graph.VertexId, fn func(graph.VertexId))
algorithms/graphs/dfs/dfs.go:27
↓ 1 callers
Method
EdgesCount
()
data-structures/graph/graph.go:171
↓ 1 callers
Method
Find
(node *Node)
data-structures/linked-list/linked_list.go:142
↓ 1 callers
Method
ForEach
(f func(*item))
data-structures/hash-tables/ht.go:78
↓ 1 callers
Function
GetArrayOfSize
(n int)
algorithms/sorting/utils/utils.go:11
↓ 1 callers
Function
GetDist
(g *graph.DirGraph, from graph.VertexId, to graph.VertexId)
algorithms/graphs/bfs-shortest-path/bfs_shortest_path.go:30
↓ 1 callers
Method
GetEdge
(from, to VertexId)
data-structures/graph/graph.go:175
↓ 1 callers
Method
GetPredecessors
(vertex VertexId)
data-structures/graph/directed_graph.go:17
↓ 1 callers
Function
IterOnTree
(n *Node, f func(*Node))
data-structures/binary-tree/bst.go:148
↓ 1 callers
Function
New
(cap int)
data-structures/hash-tables/ht.go:23
↓ 1 callers
Function
New
()
data-structures/stack/stack.go:11
↓ 1 callers
Function
New
()
data-structures/queue/queue.go:11
↓ 1 callers
Function
NewMax
()
data-structures/heap/heap.go:30
↓ 1 callers
Function
NewMin
()
data-structures/heap/heap.go:23
↓ 1 callers
Function
NewMin
()
data-structures/priority-queue/priority_queue.go:34
↓ 1 callers
Function
NewTree
(n *Node)
data-structures/binary-tree/bst.go:31
↓ 1 callers
Function
NewUndirected
()
data-structures/graph/undirected_graph.go:7
↓ 1 callers
Method
Peek
()
data-structures/stack/stack.go:52
↓ 1 callers
Method
Peek
()
data-structures/queue/queue.go:53
↓ 1 callers
Function
Scc
(g *graph.DirGraph)
algorithms/graphs/kosaraju/kosaraju.go:10
↓ 1 callers
Function
ShortestPath
(g *graph.UnGraph, source graph.VertexId)
algorithms/graphs/dijkstra/dijkstra.go:10
↓ 1 callers
Function
Sort
(g *graph.DirGraph)
algorithms/graphs/topological-sort/topological.go:8
↓ 1 callers
Function
UndirectedDfs
(g *graph.UnGraph, v graph.VertexId, fn func(graph.VertexId))
algorithms/graphs/dfs/dfs.go:8
↓ 1 callers
Method
VerticesCount
()
data-structures/graph/graph.go:103
↓ 1 callers
Function
_getMatrix
(n int, memo map[int][4]int)
algorithms/maths/fibonacci/fibonacci.go:37
↓ 1 callers
Function
_pivot
(a, b *big.Int)
algorithms/maths/karatsuba/karatsuba.go:40
↓ 1 callers
Function
_raiseToPower
(A [4]int, p int, memo map[int][4]int)
algorithms/maths/fibonacci/fibonacci.go:83
↓ 1 callers
Method
add
(B *Matrix)
data-structures/matrix/matrix.go:91
↓ 1 callers
Function
benchmarkDivideAndConquer
(n int, b *testing.B)
algorithms/maths/closest-pair/closest_pair_test.go:55
↓ 1 callers
Function
calcDistance
(A point, B point)
algorithms/maths/closest-pair/closest_pair.go:49
↓ 1 callers
Function
divideAndConquer
(xP, yP []point)
algorithms/maths/closest-pair/closest_pair.go:80
↓ 1 callers
Method
isEmpty
()
data-structures/stack/stack.go:26
↓ 1 callers
Method
isEmpty
()
data-structures/queue/queue.go:27
↓ 1 callers
Function
recurse
(A *matrix.Matrix, B *matrix.Matrix)
algorithms/maths/strassen/strassen.go:34
↓ 1 callers
Method
scale
(a float64)
data-structures/matrix/matrix.go:117
↓ 1 callers
Function
scaleSize
(n int)
algorithms/maths/strassen/strassen.go:127
↓ 1 callers
Function
shuffle
(a []int)
algorithms/maths/fisher-yates/fisherYates.go:15
↓ 1 callers
Method
siftDown
()
data-structures/heap/heap.go:90
↓ 1 callers
Method
siftUp
()
data-structures/heap/heap.go:79
↓ 1 callers
Method
substract
(B *Matrix)
data-structures/matrix/matrix.go:104
↓ 1 callers
Method
trace
()
data-structures/matrix/matrix.go:83
Function
Add
(A *Matrix, B *Matrix)
data-structures/matrix/matrix.go:125
Function
BenchmarkBruteForce
(b *testing.B)
algorithms/maths/closest-pair/closest_pair_test.go:42
Function
BenchmarkBubbleSort100
(b *testing.B)
algorithms/sorting/bubble-sort/bubble_test.go:29
Function
BenchmarkBubbleSort1000
(b *testing.B)
algorithms/sorting/bubble-sort/bubble_test.go:30
Function
BenchmarkBubbleSort10000
(b *testing.B)
algorithms/sorting/bubble-sort/bubble_test.go:31
Function
BenchmarkBubbleSort100000
(b *testing.B)
algorithms/sorting/bubble-sort/bubble_test.go:32
Function
BenchmarkDivideAndConquer
func BenchmarkDivideAndConquer100(b *testing.B) { benchmarkDivideAndConquer(100, b) } func BenchmarkDivideAndConquer1000(b *testing.B) { benc
algorithms/maths/closest-pair/closest_pair_test.go:75
Function
BenchmarkFastPower
(b *testing.B)
algorithms/maths/fast-power/fast_power_test.go:32
Function
BenchmarkGetAllPrimesTo10
(b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:16
Function
BenchmarkGetAllPrimesTo100
(b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:17
Function
BenchmarkGetAllPrimesTo1000
(b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:18
Function
BenchmarkGetAllPrimesTo10000
(b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:19
Function
BenchmarkGetAllPrimesTo100000
(b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:20
Function
BenchmarkGetAllPrimesTo1000000
(b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:21
Function
BenchmarkGetAllPrimesTo10000000
(b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:22
Function
BenchmarkGetAllPrimesTo100000000
(b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:23
Function
BenchmarkGetAllPrimesTo1000000000
(b *testing.B)
algorithms/maths/eratosthenes-sieve/primes_benchmark.go:24
Function
BenchmarkGetCoeff
(b *testing.B)
algorithms/maths/euclide/extended_gcd_test.go:32
Function
BenchmarkHeapSort100
(b *testing.B)
algorithms/sorting/heap-sort/heap_test.go:29
Function
BenchmarkHeapSort1000
(b *testing.B)
algorithms/sorting/heap-sort/heap_test.go:30
Function
BenchmarkHeapSort10000
(b *testing.B)
algorithms/sorting/heap-sort/heap_test.go:31
Function
BenchmarkHeapSort100000
(b *testing.B)
algorithms/sorting/heap-sort/heap_test.go:32
Function
BenchmarkInsertionSort100
(b *testing.B)
algorithms/sorting/insertion-sort/insertion_test.go:29
Function
BenchmarkInsertionSort1000
(b *testing.B)
algorithms/sorting/insertion-sort/insertion_test.go:30
Function
BenchmarkInsertionSort10000
(b *testing.B)
algorithms/sorting/insertion-sort/insertion_test.go:31
Function
BenchmarkInsertionSort100000
(b *testing.B)
algorithms/sorting/insertion-sort/insertion_test.go:32
Function
BenchmarkIter
(b *testing.B)
algorithms/maths/stein/gcd_test.go:31
Function
BenchmarkIter10
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:47
Function
BenchmarkIter100
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:48
Function
BenchmarkIter1000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:49
Function
BenchmarkIter10000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:50
Function
BenchmarkIter100000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:51
Function
BenchmarkIter1000000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:52
Function
BenchmarkIter10000000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:53
Function
BenchmarkIterative
(b *testing.B)
algorithms/maths/permutations-count/permutations_test.go:34
Function
BenchmarkKaratsubaMultiply
(b *testing.B)
algorithms/maths/karatsuba/karatsuba_test.go:35
Function
BenchmarkMatrix10
func BenchmarkRecurse10(b *testing.B) { benchmarkRecurse(10, b) } func BenchmarkRecurse100(b *testing.B) { benchmarkRecurse(100, b) } func Benc
algorithms/maths/fibonacci/fibonacci_test.go:61
Function
BenchmarkMatrix100
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:62
Function
BenchmarkMatrix1000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:63
Function
BenchmarkMatrix10000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:64
Function
BenchmarkMatrix100000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:65
Function
BenchmarkMatrix1000000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:66
Function
BenchmarkMatrix10000000
(b *testing.B)
algorithms/maths/fibonacci/fibonacci_test.go:67
Function
BenchmarkMergeSort100
(b *testing.B)
algorithms/sorting/merge-sort/merge_test.go:29
Function
BenchmarkMergeSort1000
(b *testing.B)
algorithms/sorting/merge-sort/merge_test.go:30
Function
BenchmarkMergeSort10000
(b *testing.B)
algorithms/sorting/merge-sort/merge_test.go:31
Function
BenchmarkMergeSort100000
(b *testing.B)
algorithms/sorting/merge-sort/merge_test.go:32
Function
BenchmarkMultiply
(b *testing.B)
algorithms/maths/karatsuba/karatsuba_test.go:28
Function
BenchmarkMultiply
(b *testing.B)
algorithms/maths/strassen/strassen_test.go:64
← previous
next →
101–200 of 292, ranked by callers