Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VAR-solutions/Algorithms
/ functions
Functions
3,327 in github.com/VAR-solutions/Algorithms
⨍
Functions
3,327
◇
Types & classes
712
↓ 2 callers
Function
jump_search
( arr , x , n )
Searching/Jump Search/python/jump_search.py:13
↓ 2 callers
Function
lazy
Tree/segment tree/cpp/Segment Tree Lazy Propagation.cpp:5
↓ 2 callers
Function
leftrightZigZag
data structures/trie/c/AVL.c:80
↓ 2 callers
Method
listTestNamesOnly
Searching/binary search/c/test/catch.hpp:4057
↓ 2 callers
Method
main
(String[] args)
data structures/stack/java/stack.java:46
↓ 2 callers
Function
makeLeaf
makeLeaf generate a single leaf without children.
Greedy Algorithms/Huffman/go/huffman.go:71
↓ 2 callers
Function
makeTestCase
Searching/binary search/c/test/catch.hpp:8290
↓ 2 callers
Function
matchTest
Searching/binary search/c/test/catch.hpp:7331
↓ 2 callers
Function
matrixMultiply
data structures/Matrix/cpp/matrix_multiply.cpp:6
↓ 2 callers
Method
matriz_ad
Graphs/Floyd/Cplusplus/floydWarshall.cpp:62
↓ 2 callers
Function
max
Dynamic Programming/Egg Dropping Puzzle/cpp/eggDroppingPuzzle.cpp:6
↓ 2 callers
Function
maxValueNode
Tree/AVLTree/AVL.cpp:185
↓ 2 callers
Function
merge
(x1: &[T], x2: &[T], y: &mut [T])
Sorting/Merge Sort/Rust/merge-sort.rs:1
↓ 2 callers
Function
merge_sort
(x: &mut [T])
Sorting/Merge Sort/Rust/merge-sort.rs:25
↓ 2 callers
Function
min
Dynamic Programming/Binomial Coefficient/C/binCoeff.c:24
↓ 2 callers
Method
min
(int x, int y)
Searching/Fibonacci Search/Java/Fibonaccisearch.java:8
↓ 2 callers
Function
minValueNode
Tree/AVLTree/AVL.cpp:90
↓ 2 callers
Function
mod
Mathematics/modular exp/cpp/modular_exp.cpp:6
↓ 2 callers
Function
nameForNumber
Other Algorithms/num_to_words.cpp:15
↓ 2 callers
Function
nanoseconds
Graphs/Minimum Spanning Tree/C++/nanoseconds.hpp:6
↓ 2 callers
Function
newNode
Function to create a new node
heaps/priority queue/priority_queue.cpp:20
↓ 2 callers
Method
newNode
(int d, int p)
heaps/priority queue/priority_queue.java:23
↓ 2 callers
Function
newnode
data structures/trie/c/BST.c:20
↓ 2 callers
Method
numCols
data structures/Matrix/cpp/Matrix.h:25
↓ 2 callers
Method
numRows
data structures/Matrix/cpp/Matrix.h:21
↓ 2 callers
Method
okToFail
Searching/binary search/c/test/catch.hpp:8381
↓ 2 callers
Function
peek
Return the value at head
heaps/priority queue/priority_queue.cpp:31
↓ 2 callers
Method
peek
data structures/stack/Kotlin/StackUsingArray.kt:29
↓ 2 callers
Function
percolate
data structures/heap/C/heap.c:46
↓ 2 callers
Function
pop
data structures/queue/c/queue_using_stack.c:57
↓ 2 callers
Function
pop
Removes the element with the highest priority form the list
heaps/priority queue/priority_queue.cpp:38
↓ 2 callers
Method
pop
(self)
data structures/Graph/GraphDFS(Letters).py:17
↓ 2 callers
Method
pop
(self)
data structures/stack/python/stack.py:8
↓ 2 callers
Method
pop
()
data structures/stack/java/SpecialStack.java:40
↓ 2 callers
Method
pop
(root: &mut Option<Box<Node<T>>>, len: &mut usize)
heaps/BinomialHeap/Rust/binomial_heap.rs:147
↓ 2 callers
Method
pop_front
data structures/array/Array_List.cpp:134
↓ 2 callers
Function
preorder
data structures/trie/c/AVL.c:281
↓ 2 callers
Method
prepend
(...elements)
data structures/linked list/javascript/linkedList.js:43
↓ 2 callers
Function
print
Sorting/Merge Sort/C++/mergeSort_linked_list.cpp:13
↓ 2 callers
Method
print
data structures/Matrix/cpp/Array.h:37
↓ 2 callers
Function
printArray
data structures/shell.cpp:25
↓ 2 callers
Function
printBuckets
Print buckets
Sorting/Bucket Sort/C/bucket_sort.c:138
↓ 2 callers
Function
printJuggler
(n)
Mathematics/juggler sequence/python/juggler_seq.py:8
↓ 2 callers
Method
printList
(self)
data structures/linked list/python/linkedlist.py:22
↓ 2 callers
Function
print_array
($array)
Sorting/Bubble Sort/PHP/bubble-sort.php:16
↓ 2 callers
Function
push
data structures/queue/c/queue_using_stack.c:44
↓ 2 callers
Method
push
(self,data)
data structures/Graph/GraphDFS(Letters).py:15
↓ 2 callers
Method
push
data structures/stack/Kotlin/StackUsingArray.kt:6
↓ 2 callers
Method
push
(int new_data)
data structures/linked list/java/LinkedList.java:16
↓ 2 callers
Method
push
(node: &mut Option<Box<Node<T>>>, data: T)
heaps/BinomialHeap/Rust/binomial_heap.rs:29
↓ 2 callers
Function
q0
Tree/segment tree/cpp/Segment Tree Lazy Propagation.cpp:17
↓ 2 callers
Method
query
(int[] tree, int index, int si, int ei, int qsi, int qei)
Tree/segment tree/Java/RangeMinQuery.java:41
↓ 2 callers
Function
radix_sort
Sorting/Radix Sort/C/radix_sort.c:42
↓ 2 callers
Function
radixsort
Sort arr[] of size n using Radix Sort.
Sorting/Radix Sort/C++/radix_sort.cpp:42
↓ 2 callers
Function
rawMemoryToString
Searching/binary search/c/test/catch.hpp:1688
↓ 2 callers
Method
registerReporter
IMutableRegistryHub
Searching/binary search/c/test/catch.hpp:7620
↓ 2 callers
Method
registerTest
Searching/binary search/c/test/catch.hpp:7626
↓ 2 callers
Function
registerTestCase
Searching/binary search/c/test/catch.hpp:7438
↓ 2 callers
Method
release
Searching/binary search/c/test/catch.hpp:622
↓ 2 callers
Method
removeFromFront
()
LinkedList/Java/LinkedList.java:74
↓ 2 callers
Method
render
Renders the current board state
Recursive Algorithms/minimax/tic-tac-toe/tictactoe.py:15
↓ 2 callers
Function
reportFatal
Report the error condition
Searching/binary search/c/test/catch.hpp:6398
↓ 2 callers
Function
reverseNumber
(n int)
Other Algorithms/Reverse Number/rev.go:21
↓ 2 callers
Function
reverseString
* Shortcut Method
Other Algorithms/Reverse-A-String-FCC/JavaScript/reverseString.js:27
↓ 2 callers
Function
reverseString
(str)
Other Algorithms/Reverse Sentence/JavaScript/reverse.js:1
↓ 2 callers
Function
rightleftZigZag
data structures/trie/c/AVL.c:104
↓ 2 callers
Method
run
Searching/binary search/c/test/catch.hpp:7179
↓ 2 callers
Function
search
Returns true if key presents in trie, else false
data structures/trie/cpp/trie.cpp:53
↓ 2 callers
Function
search
search for the number N in the table. Return -1 if the number is not found.
Hashing/Linear Probing/linear_probing.cpp:31
↓ 2 callers
Method
search
data structures/stack/cpp/Stack.cpp:84
↓ 2 callers
Method
search
(self, tree, target)
Tree/Binary Search Tree/bstree.py:115
↓ 2 callers
Function
selection_sort
(a, n)
Sorting/Selection Sort/Ruby/selSort.rb:1
↓ 2 callers
Method
setCurrentTracker
Searching/binary search/c/test/catch.hpp:6132
↓ 2 callers
Method
setParent
(PatriciaSetNode parent)
Tree/Patricia/PatriciaSetNode.java:134
↓ 2 callers
Method
setRight
(int data, int parent)
Tree/Binary Tree/BinaryTree.java:28
↓ 2 callers
Function
setTags
Searching/binary search/c/test/catch.hpp:8335
↓ 2 callers
Method
set_next
(self,new_node)
data structures/linked list/python/Stack_with_Singly_Linked_List.py:12
↓ 2 callers
Function
shellSort
(arr)
Sorting/ShellSort/Javascript/shellsort.js:1
↓ 2 callers
Function
shortest_path
Graphs/Diameter_of_tree/Diameter_of_tree.cpp:15
↓ 2 callers
Function
showPiles
A C function to output the current game state.
Combinatorial Game Theory/Game of NIM/gameNIM.c:31
↓ 2 callers
Method
shuffle
To generate permuatation of the array
Sorting/Bogosort/C Sharp/Bogosort.cs:29
↓ 2 callers
Function
sift
data structures/heap/C/heap.c:20
↓ 2 callers
Function
size
Mathematics/Karatsuba/C/karatsuba.c:4
↓ 2 callers
Method
skipTest
Searching/binary search/c/test/catch.hpp:8640
↓ 2 callers
Method
sort
Sorting/Cocktail/C++/Cocktail.cpp:9
↓ 2 callers
Method
stack_push
(Stack<Integer> stack)
data structures/stack/java/stack.java:7
↓ 2 callers
Method
stack_search
(Stack<Integer> stack, int element)
data structures/stack/java/stack.java:35
↓ 2 callers
Method
sumRange
:type i: int :type j: int :rtype: int
Tree/segment tree/python/segment_tree.py:58
↓ 2 callers
Method
swap
(int[] a, int i, int j)
Sorting/Bogosort/Java/Bogosort.java:24
↓ 2 callers
Method
swap
Searching/binary search/c/test/catch.hpp:8401
↓ 2 callers
Function
swap_elements
(arr, wall, i)
Sorting/quickSort/python/quick_sort.py:30
↓ 2 callers
Method
switch
Switches current player
Recursive Algorithms/minimax/tic-tac-toe/tictactoe.py:55
↓ 2 callers
Method
takesArg
Searching/binary search/c/test/catch.hpp:4545
↓ 2 callers
Method
testCaseStarting
Searching/binary search/c/test/catch.hpp:8593
↓ 2 callers
Method
testRunStarting
Searching/binary search/c/test/catch.hpp:8587
↓ 2 callers
Method
toArray
()
data structures/linked list/javascript/linkedList.js:131
↓ 2 callers
Method
totalEdgeMetric
Graphs/Minimum Spanning Tree/C++/data-structures/LinkedGraph.cpp:54
↓ 2 callers
Function
translateActiveException
Searching/binary search/c/test/catch.hpp:7663
↓ 2 callers
Function
troca
Backtracking/Permutation/permuta.cpp:3
↓ 2 callers
Function
update
Tree/Heavy Light Decomposition/hld.cpp:43
← previous
next →
501–600 of 3,327, ranked by callers