MCPcopy Create free account

hub / github.com/VAR-solutions/Algorithms / functions

Functions3,327 in github.com/VAR-solutions/Algorithms

↓ 129 callersFunctionprint
Greedy Algorithms/Kruskal.c:85
↓ 121 callersMethodsize
Searching/binary search/c/test/catch.hpp:4250
↓ 119 callersMethodend
Searching/binary search/c/test/catch.hpp:4248
↓ 118 callersMethodpush_back
data structures/array/Array_List.cpp:66
↓ 107 callersMethodbegin
Searching/binary search/c/test/catch.hpp:4247
↓ 83 callersMethodappend
Enqueue a value to the heap @param value : value to append
heaps/BinomialHeap/Python/binomial_heap.py:117
↓ 80 callersMethodsize
Tree/AVLTree/AVL.cpp:307
↓ 77 callersMethodpush
data structures/stack/cpp/Stack.cpp:23
↓ 73 callersMethodempty
Searching/binary search/c/test/catch.hpp:8773
↓ 64 callersFunctionspace
Arduino_Code/Arduino-IRremote/irPronto.cpp:18
↓ 59 callersFunctionmark
Arduino_Code/Arduino-IRremote/irPronto.cpp:17
↓ 57 callersMethodlength
data structures/Matrix/cpp/Array.h:26
↓ 57 callersMethodprint
Tree/AVLTree/AVL.cpp:303
↓ 44 callersMethodget
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:25
↓ 42 callersMethodpop
data structures/stack/cpp/Stack.cpp:47
↓ 38 callersFunctionMATCH_MARK
+======================================================== Due to sensor lag, when received, Marks tend to be 100us too long
Arduino_Code/Arduino-IRremote/IRremote.cpp:65
↓ 38 callersFunctionprint
Sorting/quickSort/C/quick_sort.c:54
↓ 36 callersMethodappend
(int new_data)
data structures/linked list/java/LinkedList.java:52
↓ 34 callersMethodtoString
Searching/binary search/c/test/catch.hpp:4252
↓ 33 callersFunctionMATCH_SPACE
+======================================================== Due to sensor lag, when received, Spaces tend to be 100us too short
Arduino_Code/Arduino-IRremote/IRremote.cpp:91
↓ 32 callersMethodnew
(data: T)
heaps/BinomialHeap/Rust/binomial_heap.rs:20
↓ 30 callersMethodinsert
(int i)
LinkedList/LinkList.java:8
↓ 30 callersFunctionprint
Graphs/SPFA/shortest-path-faster-algorithm.cpp:59
↓ 28 callersMethodgetSize
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:20
↓ 28 callersMethodtop
()
heaps/JavaScript/heap.js:7
↓ 27 callersMethodbind
Searching/binary search/c/test/catch.hpp:4815
↓ 27 callersMethoddescribe
Searching/binary search/c/test/catch.hpp:9421
↓ 27 callersFunctionmax
Tree/AVLTree/AVL.cpp:9
↓ 27 callersFunctionmax
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 callersMethodempty
data structures/array/Array_List.cpp:161
↓ 24 callersFunctionprint
Dynamic Programming/minimized cost of binary search tree/solution.cpp:10
↓ 23 callersFunctionF
define ESP 0.001 define F(x) (x)*(x)*(x) + (x)*(x) + (x) + 7
Numerical Methods/secant_method/C/bisection.c:6
↓ 21 callersMethodgetLabel
()
Tree/Patricia/PatriciaSetNode.java:114
↓ 20 callersMethodfind
Searching/binary search/c/test/catch.hpp:9337
↓ 19 callersFunctionmin
Tree/segment tree/c/segment_tree.c:5
↓ 19 callersFunctiontoString
Searching/binary search/c/test/catch.hpp:1732
↓ 18 callersMethodadd
Searching/binary search/c/test/catch.hpp:9360
↓ 18 callersMethodscopedElement
Searching/binary search/c/test/catch.hpp:10112
↓ 17 callersFunctionenableIROut
Arduino_Code/Arduino-IRremote/irPronto.cpp:16
↓ 17 callersFunctionfindHeuristicValue
(inMatrix)
Searching/8-puzzleProblem/8-puzzleProblem.py:197
↓ 17 callersFunctionstartsWith
Searching/binary search/c/test/catch.hpp:4467
↓ 17 callersMethodtotal
Searching/binary search/c/test/catch.hpp:2365
↓ 16 callersMethodprint
A utility function to print an array
Sorting/Radix Sort/C#/radix_sort.cs:64
↓ 15 callersFunctionprint
(ll LinkedListInt32)
data structures/linked list/go/linkedlistint32.go:29
↓ 15 callersMethodsort
(int arr[])
Sorting/Heapsort/Java/HeapSort.java:4
↓ 15 callersFunctionswap
data structures/quick.cpp:30
↓ 14 callersMethodget
Tree/AVLTree/AVL.cpp:256
↓ 14 callersMethodget
Searching/binary search/c/test/catch.hpp:598
↓ 14 callersFunctionheight
data structures/trie/c/AVL.c:20
↓ 14 callersFunctionheight
Tree/AVLTree/AVL.cpp:14
↓ 14 callersFunctionmin
Dynamic Programming/GameStrategy/game.cpp:8
↓ 14 callersMethodnext
data structures/queue/ruby/priority_queue.rb:28
↓ 14 callersFunctionswap
can be any swap function. This swap is optimized for numbers.
Sorting/Cocktail/C/Cocktail.c:4
↓ 14 callersMethodtestSpec
Searching/binary search/c/test/catch.hpp:3745
↓ 13 callersMethodclear
data structures/array/Array_List.cpp:61
↓ 13 callersMethodreverse
(self)
data structures/linked list/python/linkedlist.py:9
↓ 12 callersMethodadd
(value)
heaps/JavaScript/heap.js:19
↓ 12 callersMethodaddEdge
Greedy Algorithms/graphcolor.cpp:22
↓ 12 callersMethodgetResultType
Searching/binary search/c/test/catch.hpp:8192
↓ 12 callersMethodgetRoot
(self)
Tree/Binary Search Tree/bstree.py:95
↓ 12 callersFunctionheight
A utility function to get the height of the tree
Tree/AVLTree/AVL_Tree.cpp:18
↓ 12 callersMethodisRed
(Node x)
Tree/Red Black BST/RBBST.java:10
↓ 12 callersFunctionlist
Searching/binary search/c/test/catch.hpp:6016
↓ 12 callersFunctionopCast
Searching/binary search/c/test/catch.hpp:1327
↓ 12 callersFunctionpalindrome
(str)
Mathematics/palindrome/JavaScript/palindrome.js:1
↓ 12 callersMethodreset
Searching/binary search/c/test/catch.hpp:582
↓ 12 callersFunctionsort
Greedy Algorithms/Kruskal.c:71
↓ 11 callersMethodadd
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:42
↓ 11 callersFunctionevaluate
Combinatorial Game Theory/Tic-Tac-Toe Optimal Move/tttoptmove.cpp:21
↓ 11 callersFunctiongetVertex
(vertexData)
data structures/Graph/GraphDFS(Letters).py:26
↓ 11 callersFunctiongetVertex
(vertexData)
data structures/Graph/GraphDFS.py:25
↓ 11 callersMethodsize
data structures/array/Array_List.cpp:192
↓ 10 callersMethodcompareTo
Método que compara o tempo entre caminhos
Graphs/Dijkstra Algorithm/Java/Path.java:54
↓ 10 callersFunctioninsertNode
data structures/trie/c/BST.c:40
↓ 10 callersMethodisOk
Result was a success, or failure is suppressed
Searching/binary search/c/test/catch.hpp:8188
↓ 10 callersMethodpush
(self,data)
data structures/Graph/GraphDFS.py:15
↓ 10 callersMethodput
Tree/AVLTree/AVL.cpp:240
↓ 10 callersFunctionsingly
data structures/linked list/cpp/linked-list(doubly-singly).cpp:483
↓ 10 callersFunctiontrim
Searching/binary search/c/test/catch.hpp:8734
↓ 9 callersFunctionbyp
+============================================================================= Bypass spaces
Arduino_Code/Arduino-IRremote/irPronto.cpp:44
↓ 9 callersMethodf
(x) static float f(float x)
Numerical Methods/secant_method/Java/Secant Method.java:6
↓ 9 callersFunctionfindLongestPalindromicString
(text)
Other Algorithms/manachers algorithm/manacher algorithm.py:1
↓ 9 callersFunctionfindLongestPalindromicString
(text)
Other Algorithms/String/manachers algorithm/manacher algorithm.py:1
↓ 9 callersMethodgetNextElement
Graphs/Minimum Spanning Tree/C++/data-structures/LinkedListElement.cpp:29
↓ 9 callersMethodindex
Searching/binary search/c/test/catch.hpp:6360
↓ 9 callersMethodinsert
( key )
Tree/Binary Search Tree/Ruby/bst.rb:23
↓ 9 callersMethodinsert
(int key)
Graphs/BinaryTree/java/binaryTree.java:23
↓ 9 callersFunctioninsertNode
data structures/trie/c/AVL.c:154
↓ 9 callersMethodremove
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:110
↓ 9 callersFunctiontoLower
Searching/binary search/c/test/catch.hpp:8729
↓ 8 callersMethodAdd
** 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 callersMethodaddRow
Searching/binary search/c/test/catch.hpp:10984
↓ 8 callersFunctiondelete_key
deletes a number from the table.
Hashing/Linear Probing/linear_probing.cpp:43
↓ 8 callersFunctiondisplayLinkedList
data structures/linked list/cpp/doubly_circular_linked_list.cpp:46
↓ 8 callersFunctiondoubly
data structures/linked list/cpp/linked-list(doubly-singly).cpp:523
↓ 8 callersMethodempty?
data structures/queue/ruby/queue.rb:26
↓ 8 callersFunctionfind
(b, c)
Graphs/kruskal/Kruskal.py:4
↓ 8 callersMethodgetMessage
Searching/binary search/c/test/catch.hpp:8231
↓ 8 callersMethodgetSourceInfo
Searching/binary search/c/test/catch.hpp:8234
↓ 8 callersFunctionhtob
+============================================================================= 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