MCPcopy Create free account

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

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

↓ 3 callersFunctionisEmpty
data structures/queue/c/queue.c:91
↓ 3 callersFunctionisEmpty
Graphs/bfs/c/bfs.c:114
↓ 3 callersMethodisEmpty
(self)
data structures/Graph/GraphDFS.py:21
↓ 3 callersMethodisEmpty
(self)
data structures/stack/python/stack.py:12
↓ 3 callersMethodisEmpty
()
data structures/stack/javascript/stack.js:16
↓ 3 callersMethodisEmpty
(self)
data structures/queue/python/queue.py:13
↓ 3 callersMethodisEmpty
()
Tree/Binary Search Tree/bst.java:143
↓ 3 callersFunctionisFalseTest
Searching/binary search/c/test/catch.hpp:904
↓ 3 callersMethodisSectionTracker
Searching/binary search/c/test/catch.hpp:6211
↓ 3 callersFunctionisblank
+============================================================================= Check for a valid "blank" ... '\0' is a valid "blank"
Arduino_Code/Arduino-IRremote/irPronto.cpp:36
↓ 3 callersFunctionlca
Graphs/LCA/lca.cpp:35
↓ 3 callersFunctionleftRotate
A utility function to left rotate subtree rooted with x See the diagram given above.
Tree/AVLTree/AVL_Tree.cpp:63
↓ 3 callersFunctionlibraryVersion
Searching/binary search/c/test/catch.hpp:8469
↓ 3 callersMethodlistExtraInfo
Searching/binary search/c/test/catch.hpp:4060
↓ 3 callersFunctionmax
Mathematics/Karatsuba/C/karatsuba.c:15
↓ 3 callersFunctionmax
Sorting/Radix Sort/C/radix_sort.c:33
↓ 3 callersMethodmaxDepth
(self, tree)
Tree/Binary Search Tree/bstree.py:203
↓ 3 callersFunctionmerge
Sorting/Timsort/C/timsort.c:24
↓ 3 callersFunctionmin
(x, y int)
Tree/segment tree/golang/segmentTree.go:9
↓ 3 callersFunctionmodular_pow
Mathematics/prime.cpp:10
↓ 3 callersFunctionmodular_pow
Mathematics/Pollard-Rho/cpp/prime.cpp:5
↓ 3 callersMethodmove
Moves a piece and switches current_player
Recursive Algorithms/minimax/tic-tac-toe/tictactoe.py:43
↓ 3 callersMethodmoveNext
Searching/binary search/c/test/catch.hpp:6362
↓ 3 callersFunctionmultiply
Mathematics/factorial/cpp/FactorialOfLargeNumber.cpp:25
↓ 3 callersFunctionmultiply
This function multiplies x with the number represented by res[]. res_size is size of res[] or number of digits in the number represented by res[]. Thi
Mathematics/Power_For_Huge_Num/Power_Huge.cpp:17
↓ 3 callersFunctionnew_node
Graphs/BinaryTree/Binary Tree.cpp:12
↓ 3 callersMethodnext
Arduino_Code/Arduino-IRremote/ir_Lego_PF_BitStreamEncoder.h:63
↓ 3 callersMethodopen
Searching/binary search/c/test/catch.hpp:6214
↓ 3 callersFunctionoptimalStrategyOfGame
Returns optimal value possible that a player can collect from an array of coins of size n. Note than n must be even
Dynamic Programming/GameStrategy/game.cpp:12
↓ 3 callersFunctionparseSpecialTag
Searching/binary search/c/test/catch.hpp:8259
↓ 3 callersMethodpeek
(self)
data structures/Graph/GraphDFS.py:19
↓ 3 callersFunctionpoliceThief
Returns maximum number of thieves that can be caught.
Greedy Algorithms/Policemen catch thieves/cpp/policeTheives.cpp:8
↓ 3 callersMethodpop
data structures/stack/ruby/stack.rb:11
↓ 3 callersMethodpop
()
data structures/stack/javascript/stack.js:12
↓ 3 callersMethodpop
* @brief Dequeue method for the heap * * @return T : the top (extremum) value */
heaps/BinomialHeap/cpp/binomial_heap.cpp:198
↓ 3 callersMethodpossible_moves
Finds all possible_moves of current board state
Recursive Algorithms/minimax/tic-tac-toe/tictactoe.py:26
↓ 3 callersFunctionpostorder
To find the postorder traversal */
Tree/Binary Search Tree/bst.c:130
↓ 3 callersFunctionpreorder
To find the preorder traversal */
Tree/Binary Search Tree/bst.c:115
↓ 3 callersMethodprint
Searching/binary search/c/test/catch.hpp:1746
↓ 3 callersFunctionprintArray
A utility function to print array of size n */
Sorting/Heapsort/C++/heapsort.cpp:51
↓ 3 callersFunctionprintMatrix
(matrix)
Searching/8-puzzleProblem/8-puzzleProblem.py:216
↓ 3 callersFunctionpush
data structures/stack/c/stack.c:28
↓ 3 callersMethodpush
(self, element)
data structures/stack/python/stack.py:5
↓ 3 callersMethodpush
data structures/stack/cpp/stack-implementation.cpp:21
↓ 3 callersMethodpush
(element)
data structures/stack/ruby/stack.rb:7
↓ 3 callersMethodpush
(Node head, int d, int p)
heaps/priority queue/priority_queue.java:49
↓ 3 callersMethodpush
* @brief Enqueue method for the heap * * @param x : the value to insert */
heaps/BinomialHeap/cpp/binomial_heap.cpp:187
↓ 3 callersMethodquery
(int qsi, int qei)
Tree/segment tree/Java/SegmentTree.java:64
↓ 3 callersMethodreconstructExpression
Searching/binary search/c/test/catch.hpp:9317
↓ 3 callersMethodremoveAt
(index)
data structures/linked list/javascript/linkedList.js:94
↓ 3 callersMethodreplaceNode
(parent, replacement *Node)
Tree/Binary Search Tree/go/src/bst.go:70
↓ 3 callersFunctionrightRotate
Tree/AVLTree/AVL_Tree.cpp:44
↓ 3 callersMethodrunOrder
Searching/binary search/c/test/catch.hpp:4078
↓ 3 callersFunctionsearch
Function to search the appropriate position to insert the new node */
Tree/Binary Search Tree/bst.c:86
↓ 3 callersFunctionsearch
(root,key)
Graphs/BinaryTree/python/binaryTree.py:31
↓ 3 callersMethodsectionStarting
Searching/binary search/c/test/catch.hpp:8596
↓ 3 callersFunctionseedRng
Searching/binary search/c/test/catch.hpp:8783
↓ 3 callersMethodsetLeft
(int data, int parent)
Tree/Binary Tree/BinaryTree.java:15
↓ 3 callersMethodset_next
(self,new_node)
data structures/linked list/python/Singly-linked-list.py:12
↓ 3 callersMethodsort
(int[] data)
Sorting/Bubble Sort/Java/BubbleSort.java:12
↓ 3 callersFunctionswap
Other Algorithms/All_permutations_of_a_string.cpp:18
↓ 3 callersFunctionswap_nodes
data structures/heap/C/heap.c:53
↓ 3 callersMethodtestCaseEnded
Searching/binary search/c/test/catch.hpp:8625
↓ 3 callersMethodtestGroupEnded
Searching/binary search/c/test/catch.hpp:8632
↓ 3 callersMethodtestGroupStarting
Searching/binary search/c/test/catch.hpp:8590
↓ 3 callersMethodtestRunEnded
Searching/binary search/c/test/catch.hpp:8637
↓ 3 callersMethodtoString
Graphs/Minimum Spanning Tree/C++/data-structures/LinkedGraph.cpp:32
↓ 3 callersMethodtop
Peek the top (extremum) element of the heap @returns : value of the top element
heaps/BinomialHeap/Python/binomial_heap.py:140
↓ 3 callersMethodunion
(self, parent, rank, x, y)
Graphs/Minimum Spanning Tree/python/MST_kruskal.py:29
↓ 3 callersFunctionunionSet
Graphs/disjoint-sets/union-find.cpp:20
↓ 3 callersMethodvertices
(self)
data structures/Graph/GraphDictionaries.py:5
↓ 2 callersMethodContains
Searching/binary search/c/test/catch.hpp:3443
↓ 2 callersMethodDFSUtil
Graphs/dfs/cpp/dfs.cpp:39
↓ 2 callersFunctionDequeue
data structures/queue/c/queue.c:80
↓ 2 callersMethodFactorialize
(int value)
Mathematics/factorial/c-sharp/factorial.cs:5
↓ 2 callersFunctionFind
Tree/AVLTree/AVL.cpp:151
↓ 2 callersMethodFindLongestWordLength
(string input)
Other Algorithms/Find-Longest-String-FCC/c-sharp/find-longest-string.cs:7
↓ 2 callersMethodGetCodebook
GetCodebook returns the codebook for this particular tree.
Greedy Algorithms/Huffman/go/huffman.go:37
↓ 2 callersFunctionMIN
Sorting/Timsort/C/timsort.c:6
↓ 2 callersFunctionMatrixChainOrder
Dynamic Programming/Matrix Chain Multiplication/C/matrixChainMultiplication.c:5
↓ 2 callersMethodReverseString
(string original)
Other Algorithms/Reverse-A-String-FCC/c-sharp/reverse-a-string.cs:6
↓ 2 callersFunctionSortFrequencyList
SortFrequencyList generates a list of bytes sorted by relative frequency, starting with the smallest ones.
Greedy Algorithms/Huffman/go/huffman.go:82
↓ 2 callersFunctionSort_by_arrival_time
Scheduling/FCFS/fcfs.cpp:8
↓ 2 callersMethodUnion
(subset subsets[], int x, int y)
Graphs/kruskal/Java/KruskalAlgo.java:52
↓ 2 callersMethodV
(self)
Graphs/bfs/python/bfs.py:9
↓ 2 callersMethodV
(self)
Graphs/bfs/python/bfs.py:53
↓ 2 callersMethod_charToIndex
(self,ch)
data structures/trie/python/trie.py:25
↓ 2 callersMethod_find_top
Finds the top element by traversing (the "linked list") of all root nodes of the trees in the forest @returns : (min_prev, m
heaps/BinomialHeap/Python/binomial_heap.py:100
↓ 2 callersMethod_link
Links two nodes in the forest
heaps/BinomialHeap/Python/binomial_heap.py:40
↓ 2 callersMethod_merge
Merges two trees (binary heaps) in the forest - this happens when we have too many or too few nodes for a single binomial tre
heaps/BinomialHeap/Python/binomial_heap.py:74
↓ 2 callersMethod_validateIndex
(index)
data structures/linked list/javascript/linkedList.js:139
↓ 2 callersMethodaborting
!TBD We need to do this another way!
Searching/binary search/c/test/catch.hpp:6889
↓ 2 callersMethodadd
Graphs/Minimum Spanning Tree/C++/data-structures/LinkedList.cpp:63
↓ 2 callersFunctionaddAtBeginning
inserting a node at the beginning of the list
LinkedList/Reverse/Reversal_of_Single_Linked_List/C/iterative_reversal.c:11
↓ 2 callersMethodaddChild
Searching/binary search/c/test/catch.hpp:6188
↓ 2 callersMethodaddRef
Searching/binary search/c/test/catch.hpp:619
↓ 2 callersFunctionaddReporter
Searching/binary search/c/test/catch.hpp:9587
↓ 2 callersMethodaddToFront
(int value)
LinkedList/Java/LinkedList.java:19
↓ 2 callersMethodaddVertex
(self,data)
data structures/Graph/Example/GraphExample.py:17
↓ 2 callersFunctionaddatendlist
LinkedList/C++/doublyLinkedList.cpp:164
← previousnext →301–400 of 3,327, ranked by callers