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
↓ 129 callers
Function
print
Greedy Algorithms/Kruskal.c:85
↓ 121 callers
Method
size
Searching/binary search/c/test/catch.hpp:4250
↓ 119 callers
Method
end
Searching/binary search/c/test/catch.hpp:4248
↓ 118 callers
Method
push_back
data structures/array/Array_List.cpp:66
↓ 107 callers
Method
begin
Searching/binary search/c/test/catch.hpp:4247
↓ 83 callers
Method
append
Enqueue a value to the heap @param value : value to append
heaps/BinomialHeap/Python/binomial_heap.py:117
↓ 80 callers
Method
size
Tree/AVLTree/AVL.cpp:307
↓ 77 callers
Method
push
data structures/stack/cpp/Stack.cpp:23
↓ 73 callers
Method
empty
Searching/binary search/c/test/catch.hpp:8773
↓ 64 callers
Function
space
Arduino_Code/Arduino-IRremote/irPronto.cpp:18
↓ 59 callers
Function
mark
Arduino_Code/Arduino-IRremote/irPronto.cpp:17
↓ 57 callers
Method
length
data structures/Matrix/cpp/Array.h:26
↓ 57 callers
Method
print
Tree/AVLTree/AVL.cpp:303
↓ 44 callers
Method
get
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:25
↓ 42 callers
Method
pop
data structures/stack/cpp/Stack.cpp:47
↓ 38 callers
Function
MATCH_MARK
+======================================================== Due to sensor lag, when received, Marks tend to be 100us too long
Arduino_Code/Arduino-IRremote/IRremote.cpp:65
↓ 38 callers
Function
print
Sorting/quickSort/C/quick_sort.c:54
↓ 36 callers
Method
append
(int new_data)
data structures/linked list/java/LinkedList.java:52
↓ 34 callers
Method
toString
Searching/binary search/c/test/catch.hpp:4252
↓ 33 callers
Function
MATCH_SPACE
+======================================================== Due to sensor lag, when received, Spaces tend to be 100us too short
Arduino_Code/Arduino-IRremote/IRremote.cpp:91
↓ 32 callers
Method
new
(data: T)
heaps/BinomialHeap/Rust/binomial_heap.rs:20
↓ 30 callers
Method
insert
(int i)
LinkedList/LinkList.java:8
↓ 30 callers
Function
print
Graphs/SPFA/shortest-path-faster-algorithm.cpp:59
↓ 28 callers
Method
getSize
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:20
↓ 28 callers
Method
top
()
heaps/JavaScript/heap.js:7
↓ 27 callers
Method
bind
Searching/binary search/c/test/catch.hpp:4815
↓ 27 callers
Method
describe
Searching/binary search/c/test/catch.hpp:9421
↓ 27 callers
Function
max
Tree/AVLTree/AVL.cpp:9
↓ 27 callers
Function
max
Kadane's algorithm finds the maximum subarray(contigious subsequence) sum. let f(i) be the maximum sum of any non-empty subarray ending at i.
Dynamic Programming/kadane/C/kadane.c:13
↓ 25 callers
Method
empty
data structures/array/Array_List.cpp:161
↓ 24 callers
Function
print
Dynamic Programming/minimized cost of binary search tree/solution.cpp:10
↓ 23 callers
Function
F
define ESP 0.001 define F(x) (x)*(x)*(x) + (x)*(x) + (x) + 7
Numerical Methods/secant_method/C/bisection.c:6
↓ 21 callers
Method
getLabel
()
Tree/Patricia/PatriciaSetNode.java:114
↓ 20 callers
Method
find
Searching/binary search/c/test/catch.hpp:9337
↓ 19 callers
Function
min
Tree/segment tree/c/segment_tree.c:5
↓ 19 callers
Function
toString
Searching/binary search/c/test/catch.hpp:1732
↓ 18 callers
Method
add
Searching/binary search/c/test/catch.hpp:9360
↓ 18 callers
Method
scopedElement
Searching/binary search/c/test/catch.hpp:10112
↓ 17 callers
Function
enableIROut
Arduino_Code/Arduino-IRremote/irPronto.cpp:16
↓ 17 callers
Function
findHeuristicValue
(inMatrix)
Searching/8-puzzleProblem/8-puzzleProblem.py:197
↓ 17 callers
Function
startsWith
Searching/binary search/c/test/catch.hpp:4467
↓ 17 callers
Method
total
Searching/binary search/c/test/catch.hpp:2365
↓ 16 callers
Method
print
A utility function to print an array
Sorting/Radix Sort/C#/radix_sort.cs:64
↓ 15 callers
Function
print
(ll LinkedListInt32)
data structures/linked list/go/linkedlistint32.go:29
↓ 15 callers
Method
sort
(int arr[])
Sorting/Heapsort/Java/HeapSort.java:4
↓ 15 callers
Function
swap
data structures/quick.cpp:30
↓ 14 callers
Method
get
Tree/AVLTree/AVL.cpp:256
↓ 14 callers
Method
get
Searching/binary search/c/test/catch.hpp:598
↓ 14 callers
Function
height
data structures/trie/c/AVL.c:20
↓ 14 callers
Function
height
Tree/AVLTree/AVL.cpp:14
↓ 14 callers
Function
min
Dynamic Programming/GameStrategy/game.cpp:8
↓ 14 callers
Method
next
data structures/queue/ruby/priority_queue.rb:28
↓ 14 callers
Function
swap
can be any swap function. This swap is optimized for numbers.
Sorting/Cocktail/C/Cocktail.c:4
↓ 14 callers
Method
testSpec
Searching/binary search/c/test/catch.hpp:3745
↓ 13 callers
Method
clear
data structures/array/Array_List.cpp:61
↓ 13 callers
Method
reverse
(self)
data structures/linked list/python/linkedlist.py:9
↓ 12 callers
Method
add
(value)
heaps/JavaScript/heap.js:19
↓ 12 callers
Method
addEdge
Greedy Algorithms/graphcolor.cpp:22
↓ 12 callers
Method
getResultType
Searching/binary search/c/test/catch.hpp:8192
↓ 12 callers
Method
getRoot
(self)
Tree/Binary Search Tree/bstree.py:95
↓ 12 callers
Function
height
A utility function to get the height of the tree
Tree/AVLTree/AVL_Tree.cpp:18
↓ 12 callers
Method
isRed
(Node x)
Tree/Red Black BST/RBBST.java:10
↓ 12 callers
Function
list
Searching/binary search/c/test/catch.hpp:6016
↓ 12 callers
Function
opCast
Searching/binary search/c/test/catch.hpp:1327
↓ 12 callers
Function
palindrome
(str)
Mathematics/palindrome/JavaScript/palindrome.js:1
↓ 12 callers
Method
reset
Searching/binary search/c/test/catch.hpp:582
↓ 12 callers
Function
sort
Greedy Algorithms/Kruskal.c:71
↓ 11 callers
Method
add
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:42
↓ 11 callers
Function
evaluate
Combinatorial Game Theory/Tic-Tac-Toe Optimal Move/tttoptmove.cpp:21
↓ 11 callers
Function
getVertex
(vertexData)
data structures/Graph/GraphDFS(Letters).py:26
↓ 11 callers
Function
getVertex
(vertexData)
data structures/Graph/GraphDFS.py:25
↓ 11 callers
Method
size
data structures/array/Array_List.cpp:192
↓ 10 callers
Method
compareTo
Método que compara o tempo entre caminhos
Graphs/Dijkstra Algorithm/Java/Path.java:54
↓ 10 callers
Function
insertNode
data structures/trie/c/BST.c:40
↓ 10 callers
Method
isOk
Result was a success, or failure is suppressed
Searching/binary search/c/test/catch.hpp:8188
↓ 10 callers
Method
push
(self,data)
data structures/Graph/GraphDFS.py:15
↓ 10 callers
Method
put
Tree/AVLTree/AVL.cpp:240
↓ 10 callers
Function
singly
data structures/linked list/cpp/linked-list(doubly-singly).cpp:483
↓ 10 callers
Function
trim
Searching/binary search/c/test/catch.hpp:8734
↓ 9 callers
Function
byp
+============================================================================= Bypass spaces
Arduino_Code/Arduino-IRremote/irPronto.cpp:44
↓ 9 callers
Method
f
(x) static float f(float x)
Numerical Methods/secant_method/Java/Secant Method.java:6
↓ 9 callers
Function
findLongestPalindromicString
(text)
Other Algorithms/manachers algorithm/manacher algorithm.py:1
↓ 9 callers
Function
findLongestPalindromicString
(text)
Other Algorithms/String/manachers algorithm/manacher algorithm.py:1
↓ 9 callers
Method
getNextElement
Graphs/Minimum Spanning Tree/C++/data-structures/LinkedListElement.cpp:29
↓ 9 callers
Method
index
Searching/binary search/c/test/catch.hpp:6360
↓ 9 callers
Method
insert
( key )
Tree/Binary Search Tree/Ruby/bst.rb:23
↓ 9 callers
Method
insert
(int key)
Graphs/BinaryTree/java/binaryTree.java:23
↓ 9 callers
Function
insertNode
data structures/trie/c/AVL.c:154
↓ 9 callers
Method
remove
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:110
↓ 9 callers
Function
toLower
Searching/binary search/c/test/catch.hpp:8729
↓ 8 callers
Method
Add
** The Add function will hash the key for multiple hash functions and set the corresponding bit to 1. */
data structures/Bloom Filter/bloomfilter.go:32
↓ 8 callers
Method
addRow
Searching/binary search/c/test/catch.hpp:10984
↓ 8 callers
Function
delete_key
deletes a number from the table.
Hashing/Linear Probing/linear_probing.cpp:43
↓ 8 callers
Function
displayLinkedList
data structures/linked list/cpp/doubly_circular_linked_list.cpp:46
↓ 8 callers
Function
doubly
data structures/linked list/cpp/linked-list(doubly-singly).cpp:523
↓ 8 callers
Method
empty?
data structures/queue/ruby/queue.rb:26
↓ 8 callers
Function
find
(b, c)
Graphs/kruskal/Kruskal.py:4
↓ 8 callers
Method
getMessage
Searching/binary search/c/test/catch.hpp:8231
↓ 8 callers
Method
getSourceInfo
Searching/binary search/c/test/catch.hpp:8234
↓ 8 callers
Function
htob
+============================================================================= Hex-to-Byte : Decode a hex digit We assume the character has already be
Arduino_Code/Arduino-IRremote/irPronto.cpp:53
next →
1–100 of 3,327, ranked by callers