MCPcopy Create free account

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

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

↓ 1 callersFunctionconstructBITree
Constructs and returns a Binary Indexed Tree for given array of size n.
data structures/Fenwick_Tree.cpp:53
↓ 1 callersFunctionconstructTree
Tree/segment tree/cpp/segmentTree.cpp:5
↓ 1 callersMethodconstructTree
(int[] arr, int si, int ei)
Tree/segment tree/Java/SegmentTree.java:17
↓ 1 callersMethodcontains
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:33
↓ 1 callersMethodcontainsEdge
Graphs/Minimum Spanning Tree/C++/data-structures/LinkedGraph.cpp:65
↓ 1 callersFunctionconvertToMinHeapUtil
utility function to convert the given BST to MIN HEAP
Tree/Binary Search Tree/Bst to min heap.cpp:68
↓ 1 callersMethodcount
()
LinkedList/Java/LinkedList.java:149
↓ 1 callersMethodcount
()
data structures/linked list/java/Circular Linked List/Circular_LL.java:36
↓ 1 callersFunctioncountBrianKenighan
Faster method, iterates exactly s times, where s is the number of bits set
Bit Manipulation/countSet/c/count-set-bits.c:24
↓ 1 callersMethodcountFlippedBits
(long A,long B)
Bit Manipulation/FlipBits/FlipBits.java:9
↓ 1 callersMethodcountNodes
(ElementBST node)
Tree/Binary Search Tree/bst.java:101
↓ 1 callersFunctioncountOddPrimeFactors
(n)
Mathematics/politeness of number/python/politeness_of_number.py:8
↓ 1 callersFunctioncountParenth
Returns count of all possible parenthesizations that lead to result true for a boolean expression with symbols like true and false and operators like
Dynamic Programming/Boolean Parenthesization Problem/cpp/boolean_parenthesization.cpp:10
↓ 1 callersFunctioncountSetBits
Bit Manipulation/Brian_Kernighan_Algorithm.c:5
↓ 1 callersFunctioncountSetBits
Bit Manipulation/FlipBits/flipbits.cpp:6
↓ 1 callersFunctioncountSetBits
( n )
Bit Manipulation/FlipBits/flipbits.py:5
↓ 1 callersFunctioncountSetBits
(n)
Bit Manipulation/countSet/python/countSetBits.py:3
↓ 1 callersFunctioncountSetBits
(n int)
Bit Manipulation/countSet/go/countSetBits.go:7
↓ 1 callersFunctioncountSimple
Bit Manipulation/countSet/c/count-set-bits.c:3
↓ 1 callersFunctioncountSort
(arr)
Sorting/Counting Sort/Python/counting_sort.py:1
↓ 1 callersFunctioncountingSort
(a []int, aMin, aMax int)
Sorting/Counting Sort/Golang/count-sort.go:18
↓ 1 callersFunctioncountingSort
Sorting/Counting Sort/C/Counting_sort.c:4
↓ 1 callersMethodcountingSort
(int[] a)
Sorting/Counting Sort/Java/counting_sort.java:11
↓ 1 callersFunctioncreate
Sorting/Heapsort/C/Heapsort.c:37
↓ 1 callersFunctioncreate
To create a node */
Tree/Binary Search Tree/bst.c:74
↓ 1 callersMethodcreateBinaryTree
()
Tree/Traverals/JAVA/BinaryTree.java:16
↓ 1 callersMethodcreateBinaryTree
()
Tree/Traverals/JAVA/inorder.java:19
↓ 1 callersMethodcreateBinaryTree
()
Tree/Traverals/JAVA/preorder.java:16
↓ 1 callersMethodcreateBinaryTree
()
Tree/Traverals/JAVA/postorder.java:19
↓ 1 callersFunctioncreateGeneratorsForTest
Searching/binary search/c/test/catch.hpp:8147
↓ 1 callersMethodcreateGenesis
(self)
Blockchain/blockchain_algorithm.py:19
↓ 1 callersFunctioncreateGraph
Graphs/bfs/c/bfs.c:78
↓ 1 callersFunctioncreateGraph
Graphs/dfs/c/dfs.c:57
↓ 1 callersFunctioncreateLinkedList
data structures/linked list/cpp/doubly_circular_linked_list.cpp:23
↓ 1 callersFunctioncreateList
creating the single linked list
LinkedList/Reverse/Reversal_of_Single_Linked_List/C/iterative_reversal.c:36
↓ 1 callersFunctioncreateNode
Sorting/Merge Sort/C++/mergeSort_linked_list.cpp:21
↓ 1 callersFunctioncreateNode
Tree/Binary Search Tree/SumOfKSmallestElements.cpp:12
↓ 1 callersFunctioncreateQueue
function to create a queue of given capacity. It initializes size of queue as 0
data structures/queue/cpp/queue-implementation.cpp:16
↓ 1 callersFunctioncreateQueue
data structures/queue/c/queue_using_array.c:14
↓ 1 callersFunctioncreateQueue
Graphs/bfs/c/bfs.c:108
↓ 1 callersFunctioncreateReporter
Searching/binary search/c/test/catch.hpp:7030
↓ 1 callersFunctioncreateStack
data structures/stack/c/stack.c:11
↓ 1 callersMethodcreate_graph
Graphs/Floyd/Cplusplus/floydWarshall.cpp:17
↓ 1 callersFunctioncreate_list
LinkedList/C++/doublyLinkedList.cpp:97
↓ 1 callersFunctioncreate_ll
data structures/linked list/c/SinglyLinkedList.c:10
↓ 1 callersFunctioncreate_ll
data structures/linked list/c/DoublyLinkedList.c:11
↓ 1 callersFunctioncreatenode
data structures/hash/hashfunctions.cpp:42
↓ 1 callersFunctioncycle
checking if v1 and v2 are already connected
Tree/MinimumSpanningTree/cpp/minspantree.cpp:28
↓ 1 callersFunctioncycle_sort
Sort a vector in place and return the number of writes.
Sorting/Cycle Sort/pycycle.py:1
↓ 1 callersFunctiondatadel
Function to delete before a specific data node
LinkedList/C/linkedList.c:126
↓ 1 callersFunctiondatains
Function to insert before a specific data node
LinkedList/C/linkedList.c:63
↓ 1 callersFunctiondeclareWinner
A function to declare the winner of the game
Combinatorial Game Theory/Sprague-Grundy Theorem/sprague.cpp:50
↓ 1 callersFunctiondeclareWinner
A C function to declare the winner of the game
Combinatorial Game Theory/Game of NIM/gameNIM.c:54
↓ 1 callersFunctiondecode
+============================================================================= Convert the pronto string in to data
Arduino_Code/Arduino-IRremote/irPronto.cpp:386
↓ 1 callersMethoddel
data structures/queue/cpp/CircularQueue.cpp:44
↓ 1 callersMethoddel
* Delete Element from the tree */
Tree/Binary Search Tree/Binary_Search_Tree.cpp:200
↓ 1 callersFunctiondel_beg
data structures/linked list/cpp/linked-list(doubly-singly).cpp:353
↓ 1 callersFunctiondel_beg_d
data structures/linked list/cpp/linked-list(doubly-singly).cpp:133
↓ 1 callersFunctiondel_end
data structures/linked list/cpp/linked-list(doubly-singly).cpp:370
↓ 1 callersFunctiondel_end_d
data structures/linked list/cpp/linked-list(doubly-singly).cpp:151
↓ 1 callersFunctiondel_ind
data structures/linked list/cpp/linked-list(doubly-singly).cpp:401
↓ 1 callersFunctiondel_ind_d
data structures/linked list/cpp/linked-list(doubly-singly).cpp:178
↓ 1 callersFunctiondelete
LinkedList/C/Doubly_LinkedList/Doubly_Linkedlist.c:25
↓ 1 callersMethoddelete
()
data structures/queue/java/queue.java:28
↓ 1 callersMethoddelete
(self, tree, target)
Tree/Binary Search Tree/bstree.py:151
↓ 1 callersFunctiondeleteAllValues
Searching/binary search/c/test/catch.hpp:431
↓ 1 callersFunctiondeleteEnd
data structures/linked list/cpp/doubly_circular_linked_list.cpp:165
↓ 1 callersFunctiondeleteFront
data structures/linked list/cpp/doubly_circular_linked_list.cpp:149
↓ 1 callersFunctiondeleteKeyNode
data structures/linked list/cpp/doubly_circular_linked_list.cpp:181
↓ 1 callersFunctiondeleteNode
data structures/trie/c/AVL.c:205
↓ 1 callersFunctiondeleteNode
data structures/linked list/c/SinglyLinkedList.c:62
↓ 1 callersFunctiondeleteNode
data structures/linked list/c/DoublyLinkedList.c:67
↓ 1 callersFunctiondeleteNode
Tree/AVLTree/AVL.cpp:98
↓ 1 callersMethoddeletekey
data structures/hash/hashfunctions.cpp:152
↓ 1 callersFunctiondeletenode
LinkedList/C++/doublyLinkedList.cpp:243
↓ 1 callersMethoddelta
Searching/binary search/c/test/catch.hpp:2389
↓ 1 callersMethoddelta_x
(self,f2,f1,x2,x1)
Numerical Methods/secant_method/python/secant_method.py:50
↓ 1 callersFunctiondequeue
Function to remove an item from queue. It changes front and size
data structures/queue/cpp/queue-implementation.cpp:48
↓ 1 callersFunctiondequeue
data structures/queue/c/queue_using_array.c:46
↓ 1 callersFunctiondequeue
data structures/queue/c/queue_using_linkedList.c:33
↓ 1 callersFunctiondequeue
Graphs/bfs/c/bfs.c:130
↓ 1 callersMethoddequeue
data structures/queue/Kotlin/QueueUsingArray.kt:15
↓ 1 callersFunctiondfs
Other Algorithms/HeavyLightDecompotion.cpp:21
↓ 1 callersFunctiondfs
(graph,start)
data structures/Graph/GraphDFS(Letters).py:64
↓ 1 callersFunctiondfs
(graph,start)
data structures/Graph/GraphDFS.py:54
↓ 1 callersFunctiondfs
Tree/Heavy Light Decomposition/hld.cpp:6
↓ 1 callersFunctiondfs
Graphs/Kosaraju's Algorithm/cpp/strongly-connected-components-kosaraju-algorithm.cpp:55
↓ 1 callersFunctiondfs
Graphs/LCA/lca.cpp:13
↓ 1 callersFunctiondfs
Graphs/LCA/lca1.cpp:23
↓ 1 callersMethoddfs
(self, vertex)
Recursive Algorithms/DFS/Python/dfs_graph.py:9
↓ 1 callersMethoddfs
(element)
Recursive Algorithms/DFS/Ruby/graph_dfs.rb:12
↓ 1 callersFunctiondfs_again
Graphs/Kosaraju's Algorithm/cpp/strongly-connected-components-kosaraju-algorithm.cpp:69
↓ 1 callersFunctiondijkstra
Greedy Algorithms/Dijkstra Shortest Path/dijkstra-shortest-path.cpp:21
↓ 1 callersFunctiondijkstra
Function that implements Dijkstra's single source shortest path algorithm for a graph represented using adjacency matrix representation
Graphs/Dijkstra Algorithm/cpp/dijkstra.cpp:31
↓ 1 callersMethoddijkstra
(self, src)
Graphs/Dijkstra Algorithm/python/dijkstra.py:22
↓ 1 callersMethoddiscardDecomposedExpression
Searching/binary search/c/test/catch.hpp:8242
↓ 1 callersFunctiondisp
Function to neatly display the list
LinkedList/C/linkedList.c:142
↓ 1 callersMethoddisp_stats
data structures/hash/hashfunctions.cpp:182
↓ 1 callersFunctiondisplay
LinkedList/C++/doublyLinkedList.cpp:118
↓ 1 callersFunctiondisplay
data structures/stack/c/stack_in_c.c:187
← previousnext →801–900 of 3,327, ranked by callers