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
↓ 1 callers
Function
constructBITree
Constructs and returns a Binary Indexed Tree for given array of size n.
data structures/Fenwick_Tree.cpp:53
↓ 1 callers
Function
constructTree
Tree/segment tree/cpp/segmentTree.cpp:5
↓ 1 callers
Method
constructTree
(int[] arr, int si, int ei)
Tree/segment tree/Java/SegmentTree.java:17
↓ 1 callers
Method
contains
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:33
↓ 1 callers
Method
containsEdge
Graphs/Minimum Spanning Tree/C++/data-structures/LinkedGraph.cpp:65
↓ 1 callers
Function
convertToMinHeapUtil
utility function to convert the given BST to MIN HEAP
Tree/Binary Search Tree/Bst to min heap.cpp:68
↓ 1 callers
Method
count
()
LinkedList/Java/LinkedList.java:149
↓ 1 callers
Method
count
()
data structures/linked list/java/Circular Linked List/Circular_LL.java:36
↓ 1 callers
Function
countBrianKenighan
Faster method, iterates exactly s times, where s is the number of bits set
Bit Manipulation/countSet/c/count-set-bits.c:24
↓ 1 callers
Method
countFlippedBits
(long A,long B)
Bit Manipulation/FlipBits/FlipBits.java:9
↓ 1 callers
Method
countNodes
(ElementBST node)
Tree/Binary Search Tree/bst.java:101
↓ 1 callers
Function
countOddPrimeFactors
(n)
Mathematics/politeness of number/python/politeness_of_number.py:8
↓ 1 callers
Function
countParenth
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 callers
Function
countSetBits
Bit Manipulation/Brian_Kernighan_Algorithm.c:5
↓ 1 callers
Function
countSetBits
Bit Manipulation/FlipBits/flipbits.cpp:6
↓ 1 callers
Function
countSetBits
( n )
Bit Manipulation/FlipBits/flipbits.py:5
↓ 1 callers
Function
countSetBits
(n)
Bit Manipulation/countSet/python/countSetBits.py:3
↓ 1 callers
Function
countSetBits
(n int)
Bit Manipulation/countSet/go/countSetBits.go:7
↓ 1 callers
Function
countSimple
Bit Manipulation/countSet/c/count-set-bits.c:3
↓ 1 callers
Function
countSort
(arr)
Sorting/Counting Sort/Python/counting_sort.py:1
↓ 1 callers
Function
countingSort
(a []int, aMin, aMax int)
Sorting/Counting Sort/Golang/count-sort.go:18
↓ 1 callers
Function
countingSort
Sorting/Counting Sort/C/Counting_sort.c:4
↓ 1 callers
Method
countingSort
(int[] a)
Sorting/Counting Sort/Java/counting_sort.java:11
↓ 1 callers
Function
create
Sorting/Heapsort/C/Heapsort.c:37
↓ 1 callers
Function
create
To create a node */
Tree/Binary Search Tree/bst.c:74
↓ 1 callers
Method
createBinaryTree
()
Tree/Traverals/JAVA/BinaryTree.java:16
↓ 1 callers
Method
createBinaryTree
()
Tree/Traverals/JAVA/inorder.java:19
↓ 1 callers
Method
createBinaryTree
()
Tree/Traverals/JAVA/preorder.java:16
↓ 1 callers
Method
createBinaryTree
()
Tree/Traverals/JAVA/postorder.java:19
↓ 1 callers
Function
createGeneratorsForTest
Searching/binary search/c/test/catch.hpp:8147
↓ 1 callers
Method
createGenesis
(self)
Blockchain/blockchain_algorithm.py:19
↓ 1 callers
Function
createGraph
Graphs/bfs/c/bfs.c:78
↓ 1 callers
Function
createGraph
Graphs/dfs/c/dfs.c:57
↓ 1 callers
Function
createLinkedList
data structures/linked list/cpp/doubly_circular_linked_list.cpp:23
↓ 1 callers
Function
createList
creating the single linked list
LinkedList/Reverse/Reversal_of_Single_Linked_List/C/iterative_reversal.c:36
↓ 1 callers
Function
createNode
Sorting/Merge Sort/C++/mergeSort_linked_list.cpp:21
↓ 1 callers
Function
createNode
Tree/Binary Search Tree/SumOfKSmallestElements.cpp:12
↓ 1 callers
Function
createQueue
function to create a queue of given capacity. It initializes size of queue as 0
data structures/queue/cpp/queue-implementation.cpp:16
↓ 1 callers
Function
createQueue
data structures/queue/c/queue_using_array.c:14
↓ 1 callers
Function
createQueue
Graphs/bfs/c/bfs.c:108
↓ 1 callers
Function
createReporter
Searching/binary search/c/test/catch.hpp:7030
↓ 1 callers
Function
createStack
data structures/stack/c/stack.c:11
↓ 1 callers
Method
create_graph
Graphs/Floyd/Cplusplus/floydWarshall.cpp:17
↓ 1 callers
Function
create_list
LinkedList/C++/doublyLinkedList.cpp:97
↓ 1 callers
Function
create_ll
data structures/linked list/c/SinglyLinkedList.c:10
↓ 1 callers
Function
create_ll
data structures/linked list/c/DoublyLinkedList.c:11
↓ 1 callers
Function
createnode
data structures/hash/hashfunctions.cpp:42
↓ 1 callers
Function
cycle
checking if v1 and v2 are already connected
Tree/MinimumSpanningTree/cpp/minspantree.cpp:28
↓ 1 callers
Function
cycle_sort
Sort a vector in place and return the number of writes.
Sorting/Cycle Sort/pycycle.py:1
↓ 1 callers
Function
datadel
Function to delete before a specific data node
LinkedList/C/linkedList.c:126
↓ 1 callers
Function
datains
Function to insert before a specific data node
LinkedList/C/linkedList.c:63
↓ 1 callers
Function
declareWinner
A function to declare the winner of the game
Combinatorial Game Theory/Sprague-Grundy Theorem/sprague.cpp:50
↓ 1 callers
Function
declareWinner
A C function to declare the winner of the game
Combinatorial Game Theory/Game of NIM/gameNIM.c:54
↓ 1 callers
Function
decode
+============================================================================= Convert the pronto string in to data
Arduino_Code/Arduino-IRremote/irPronto.cpp:386
↓ 1 callers
Method
del
data structures/queue/cpp/CircularQueue.cpp:44
↓ 1 callers
Method
del
* Delete Element from the tree */
Tree/Binary Search Tree/Binary_Search_Tree.cpp:200
↓ 1 callers
Function
del_beg
data structures/linked list/cpp/linked-list(doubly-singly).cpp:353
↓ 1 callers
Function
del_beg_d
data structures/linked list/cpp/linked-list(doubly-singly).cpp:133
↓ 1 callers
Function
del_end
data structures/linked list/cpp/linked-list(doubly-singly).cpp:370
↓ 1 callers
Function
del_end_d
data structures/linked list/cpp/linked-list(doubly-singly).cpp:151
↓ 1 callers
Function
del_ind
data structures/linked list/cpp/linked-list(doubly-singly).cpp:401
↓ 1 callers
Function
del_ind_d
data structures/linked list/cpp/linked-list(doubly-singly).cpp:178
↓ 1 callers
Function
delete
LinkedList/C/Doubly_LinkedList/Doubly_Linkedlist.c:25
↓ 1 callers
Method
delete
()
data structures/queue/java/queue.java:28
↓ 1 callers
Method
delete
(self, tree, target)
Tree/Binary Search Tree/bstree.py:151
↓ 1 callers
Function
deleteAllValues
Searching/binary search/c/test/catch.hpp:431
↓ 1 callers
Function
deleteEnd
data structures/linked list/cpp/doubly_circular_linked_list.cpp:165
↓ 1 callers
Function
deleteFront
data structures/linked list/cpp/doubly_circular_linked_list.cpp:149
↓ 1 callers
Function
deleteKeyNode
data structures/linked list/cpp/doubly_circular_linked_list.cpp:181
↓ 1 callers
Function
deleteNode
data structures/trie/c/AVL.c:205
↓ 1 callers
Function
deleteNode
data structures/linked list/c/SinglyLinkedList.c:62
↓ 1 callers
Function
deleteNode
data structures/linked list/c/DoublyLinkedList.c:67
↓ 1 callers
Function
deleteNode
Tree/AVLTree/AVL.cpp:98
↓ 1 callers
Method
deletekey
data structures/hash/hashfunctions.cpp:152
↓ 1 callers
Function
deletenode
LinkedList/C++/doublyLinkedList.cpp:243
↓ 1 callers
Method
delta
Searching/binary search/c/test/catch.hpp:2389
↓ 1 callers
Method
delta_x
(self,f2,f1,x2,x1)
Numerical Methods/secant_method/python/secant_method.py:50
↓ 1 callers
Function
dequeue
Function to remove an item from queue. It changes front and size
data structures/queue/cpp/queue-implementation.cpp:48
↓ 1 callers
Function
dequeue
data structures/queue/c/queue_using_array.c:46
↓ 1 callers
Function
dequeue
data structures/queue/c/queue_using_linkedList.c:33
↓ 1 callers
Function
dequeue
Graphs/bfs/c/bfs.c:130
↓ 1 callers
Method
dequeue
data structures/queue/Kotlin/QueueUsingArray.kt:15
↓ 1 callers
Function
dfs
Other Algorithms/HeavyLightDecompotion.cpp:21
↓ 1 callers
Function
dfs
(graph,start)
data structures/Graph/GraphDFS(Letters).py:64
↓ 1 callers
Function
dfs
(graph,start)
data structures/Graph/GraphDFS.py:54
↓ 1 callers
Function
dfs
Tree/Heavy Light Decomposition/hld.cpp:6
↓ 1 callers
Function
dfs
Graphs/Kosaraju's Algorithm/cpp/strongly-connected-components-kosaraju-algorithm.cpp:55
↓ 1 callers
Function
dfs
Graphs/LCA/lca.cpp:13
↓ 1 callers
Function
dfs
Graphs/LCA/lca1.cpp:23
↓ 1 callers
Method
dfs
(self, vertex)
Recursive Algorithms/DFS/Python/dfs_graph.py:9
↓ 1 callers
Method
dfs
(element)
Recursive Algorithms/DFS/Ruby/graph_dfs.rb:12
↓ 1 callers
Function
dfs_again
Graphs/Kosaraju's Algorithm/cpp/strongly-connected-components-kosaraju-algorithm.cpp:69
↓ 1 callers
Function
dijkstra
Greedy Algorithms/Dijkstra Shortest Path/dijkstra-shortest-path.cpp:21
↓ 1 callers
Function
dijkstra
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 callers
Method
dijkstra
(self, src)
Graphs/Dijkstra Algorithm/python/dijkstra.py:22
↓ 1 callers
Method
discardDecomposedExpression
Searching/binary search/c/test/catch.hpp:8242
↓ 1 callers
Function
disp
Function to neatly display the list
LinkedList/C/linkedList.c:142
↓ 1 callers
Method
disp_stats
data structures/hash/hashfunctions.cpp:182
↓ 1 callers
Function
display
LinkedList/C++/doublyLinkedList.cpp:118
↓ 1 callers
Function
display
data structures/stack/c/stack_in_c.c:187
← previous
next →
801–900 of 3,327, ranked by callers