Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGenus/quark
/ functions
Functions
5,611 in github.com/OpenGenus/quark
⨍
Functions
5,611
◇
Types & classes
781
↓ 7 callers
Function
weeksInYear
(year, dow, doy)
code/js/moment.js:1225
↓ 6 callers
Method
Insert
(key interface{})
code/code/data_structures/src/list/doubly_linked_list/doubly_linked_list.go:20
↓ 6 callers
Function
LGraph_addUEdge
* Add a new undirected edge to the graph, connecting id1 & id2. * * @graph The graph. * @id1 ID of a node. * @id2 ID of a node. * * @return 0 on
code/code/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_C/lgraph_struct.c:206
↓ 6 callers
Method
Next
code/code/data_structures/src/list/singly_linked_list/singly_linked_list_with_classes.cpp:20
↓ 6 callers
Method
Push
(v int)
code/code/data_structures/src/queue/reverse_queue/reverse_queue.go:22
↓ 6 callers
Method
Sort
(int L, int U)
code/code/sorting/src/quick_sort/quick_sort.cs:56
↓ 6 callers
Method
Union
Union connects p and q by finding their roots and comparing their respective size arrays to keep the tree flat
code/code/data_structures/src/tree/multiway_tree/union_find/union_find.go:32
↓ 6 callers
Method
Union
Connect vertices `a` and `b`.
code/code/data_structures/src/tree/multiway_tree/union_find/union_find.cpp:36
↓ 6 callers
Function
a
(e)
code/js/popper.min.js:4
↓ 6 callers
Method
addEdge
code/code/graph_algorithms/src/cycle_directed_graph/cycle_directed_graph.cpp:24
↓ 6 callers
Method
addEdge
(self,u,v)
code/code/graph_algorithms/src/transitive_closure_graph/transitive_closure_graph.py:19
↓ 6 callers
Method
addEdge
(int v,int w)
code/code/graph_algorithms/src/breadth_first_search/Bfs.java:21
↓ 6 callers
Method
addEdge
(self, node1, node2)
code/code/graph_algorithms/src/breadth_first_search/breadth_first_search.py:21
↓ 6 callers
Method
addEdge
(self,u,v)
code/code/graph_algorithms/src/strongly_connected_components/strongly_connected_components.py:16
↓ 6 callers
Method
addEdge
Function to add an edge into the Graph
code/code/graph_algorithms/src/depth_first_search/Dfs.kt:11
↓ 6 callers
Method
addEdge
(self, node1, node2)
code/code/graph_algorithms/src/depth_first_search/depth_first_search.py:9
↓ 6 callers
Method
addEdge
(int v, int w)
code/code/graph_algorithms/src/depth_first_search/Dfs.java:25
↓ 6 callers
Method
addEdge
code/code/sorting/src/topological_sort/topological_sort.cpp:34
↓ 6 callers
Method
addValue
(char character, int valueToShiftBy)
code/code/cryptography/src/caesar_cipher/CaesarCipher.cs:15
↓ 6 callers
Method
add_edge
(self,a,b)
code/code/graph_algorithms/src/graph_coloring/graph_color_greedy.py:11
↓ 6 callers
Function
at
(e,t,n,i)
code/js/jquery.js:4
↓ 6 callers
Function
binary_insert
This recursive function will insert the objects into the tree
code/code/sorting/src/tree_sort/tree_sort.py:13
↓ 6 callers
Function
btree_ins
code/code/data_structures/src/tree/b_tree/b_tree/b_tree_C/btree.c:121
↓ 6 callers
Function
copyRandomPartContainerToLists
code/code/data_structures/test/list/test_list.cpp:62
↓ 6 callers
Function
createLGraph
* Creates a new graph with adjacency-list representation. * * @n Number of nodes. * @graph The struct that will hold the graph. * * @return 0 on
code/code/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_C/lgraph_struct.c:45
↓ 6 callers
Function
create_node
code/code/data_structures/src/tree/binary_tree/binary_tree/make_mirror_tree/make_mirror_tree.c:16
↓ 6 callers
Function
defaults
(a, b, c)
code/js/moment.js:2008
↓ 6 callers
Method
dequeue
code/code/data_structures/src/queue/queue/queue.rb:13
↓ 6 callers
Method
displayGraph
(Map<Integer,List<Edge>> graph, int n)
code/code/graph_algorithms/src/bipartite_checking/BipartiteGraphCheckAdjacencyList.java:214
↓ 6 callers
Function
e
(t)
code/js/bricklayer.min.js:1
↓ 6 callers
Method
empty?
code/code/data_structures/src/stack/stack/stack.rb:17
↓ 6 callers
Function
fill
(arr, size)
code/code/sorting/test/test_sort.py:39
↓ 6 callers
Function
find
A utility function to find set of an element i (uses path compression technique)
code/code/randomized_algorithms/src/karger_minimum_cut_algorithm/karger_minimum_cut_algorithm.cpp:109
↓ 6 callers
Method
find
Find a value from the set. Returns true if the set contained the specified element. */
code/code/data_structures/src/hashs/hash_table/hash_table.cpp:101
↓ 6 callers
Function
freeLGraph
* Frees the given graph. * * @graph The graph to free. */
code/code/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_C/lgraph_struct.c:69
↓ 6 callers
Function
get
(queue)
code/code/data_structures/src/queue/reverse_queue/reverse_queue.py:40
↓ 6 callers
Method
getBalance
(Node N)
code/code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:63
↓ 6 callers
Function
getLocale
(key)
code/js/moment.js:1950
↓ 6 callers
Method
getNextNode
()
code/code/data_structures/src/list/singly_linked_list/singly_linked_list.cs:36
↓ 6 callers
Method
get_next
(self)
code/code/data_structures/src/list/singly_linked_list/singly_linked_list.py:10
↓ 6 callers
Method
getnodeAt
(int idx)
code/code/data_structures/src/list/singly_linked_list/operations/unclassified/LinkedList.java:103
↓ 6 callers
Method
hasNext
()
code/code/data_structures/src/bag/bag.java:84
↓ 6 callers
Method
hash
Hashes the element(byte buffer) to an int @param buffer The byte buffer of the element to be hashed @return The hashed number
code/code/data_structures/src/hashs/bloom_filter/bloom_filter.java:287
↓ 6 callers
Function
insert
code/code/data_structures/src/tree/multiway_tree/van_emde_boas_tree/van_emde_boas.cpp:29
↓ 6 callers
Method
isEmpty
(self)
code/code/data_structures/src/bag/bag.py:32
↓ 6 callers
Function
isSubsetSum
code/code/dynamic_programming/src/subset_sum/subset_sum.cpp:16
↓ 6 callers
Function
l
()
code/js/jquery.js:5
↓ 6 callers
Method
leftRotate
(Node x)
code/code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:48
↓ 6 callers
Function
logError
(message)
code/js/moment-timezone-with-data.js:474
↓ 6 callers
Function
makeGetSet
(unit, keepTime)
code/js/moment.js:798
↓ 6 callers
Function
max
* Expect Output The length of LCS of ABCDEFGHIJKLMNOPQRABCEDG adn DEFNMJABCDEG is 9 */
code/code/dynamic_programming/src/longest_common_subsequence/longestCommonSubsequence.go:12
↓ 6 callers
Function
median
Calculates the median of a list of numbers. import median from statistics in python 3.4 and above.
code/code/dynamic_programming/src/Array_Median/median.py:7
↓ 6 callers
Function
min
A utility function to return minimum of two integers
code/code/dynamic_programming/src/binomial_coefficient/binomial_coefficient.c:10
↓ 6 callers
Method
pop
(self)
code/code/data_structures/src/stack/reverse_stack/reverse_stack.py:19
↓ 6 callers
Function
print
code/code/data_structures/src/list/singly_linked_list/operations/sort/bubble_sort.cpp:18
↓ 6 callers
Function
print_tree
code/code/data_structures/test/tree/multiway_tree/red_black_tree/test_red_black.c:65
↓ 6 callers
Method
push
(self, value)
code/code/data_structures/src/stack/sort_stack/sort_stack.py:12
↓ 6 callers
Method
push
code/code/data_structures/src/queue/circular_buffer/circular_buffer.cpp:31
↓ 6 callers
Method
put
code/code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.kt:91
↓ 6 callers
Method
restore
no cover test
code/code/compression/src/lossless_compression/huffman/huffman.cpp:370
↓ 6 callers
Method
rightRotate
(Node y)
code/code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:33
↓ 6 callers
Method
root
(self, a)
code/code/data_structures/src/tree/multiway_tree/union_find/union_find.py:10
↓ 6 callers
Method
search
(self, val)
code/code/data_structures/src/tree/binary_tree/binary_tree/tree/tree.py:118
↓ 6 callers
Method
setNext
sets the current object to the next node in the linked list
code/code/data_structures/src/list/singly_linked_list/singly_linked_list.cs:56
↓ 6 callers
Method
splay
(item Item)
code/code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.go:17
↓ 6 callers
Method
start
(root, left, right)
code/code/data_structures/src/tree/space_partitioning_tree/segment_tree/segment_tree_sum.rb:11
↓ 6 callers
Method
stringToBinary
code/code/compression/src/lossless_compression/huffman/huffman.cpp:460
↓ 6 callers
Method
swap
(int fpos, int spos)
code/code/data_structures/src/tree/heap/min_heap/min_heap.java:82
↓ 6 callers
Method
toString
code/code/data_structures/src/stack/abstract_stack/cpp/arrayStack/ArrayStack.h:137
↓ 6 callers
Method
union
(int a, int b)
code/code/data_structures/src/tree/multiway_tree/union_find/union_find.java:24
↓ 6 callers
Method
value
code/code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:53
↓ 5 callers
Method
BFS
code/code/data_structures/src/tree/heap/binomial_heap/binomial_heap.cpp:91
↓ 5 callers
Method
Contains
code/code/data_structures/src/hashs/bloom_filter/bloom_filter.cpp:23
↓ 5 callers
Method
Root
Root or Find traverses each parent element while compressing the levels to find the root element of p If we attempt to access an element outside the a
code/code/data_structures/src/tree/multiway_tree/union_find/union_find.go:48
↓ 5 callers
Function
T
(e,t)
code/js/popper.min.js:4
↓ 5 callers
Method
addEdge
(int v, int w)
code/code/graph_algorithms/src/eulerian_path/eulerian.java:24
↓ 5 callers
Method
addEdge
code/code/graph_algorithms/src/strongly_connected_components/strongly_connected_components.cpp:65
↓ 5 callers
Function
addWeekParseToken
(token, callback)
code/js/moment.js:709
↓ 5 callers
Function
addbw
code/code/cryptography/src/huffman_encoding/huffman_encoding.c:56
↓ 5 callers
Function
addl
code/code/cryptography/src/huffman_encoding/huffman_encoding.c:41
↓ 5 callers
Function
checkPangram
code/code/string_algorithms/src/pangram_checker/pangram-checker.js:5
↓ 5 callers
Function
cnt
code/code/data_structures/src/tree/space_partitioning_tree/segment_tree/segment_tree_kth_statistics_on_segment.cpp:25
↓ 5 callers
Function
combine
(low: number[], high: number[])
code/code/sorting/src/merge_sort/merge_sort.ts:17
↓ 5 callers
Function
create_node
Function to create new node
code/code/mathematical_algorithms/src/add_polynomials/add_polynomials.c:15
↓ 5 callers
Function
daysInYear
(year)
code/js/moment.js:776
↓ 5 callers
Function
decypher
(ct, ky, process=False)
code/code/cryptography/src/aes_128/AES_128.py:280
↓ 5 callers
Method
display
void linkedlist::display(node *head)
code/code/data_structures/src/list/singly_linked_list/operations/unclassified/linked_List_Operations.cpp:148
↓ 5 callers
Method
dist
(double x1, double y1, double x2, double y2)
code/code/cellular_automaton/src/genetic_algorithm/genetic_algorithm.java:138
↓ 5 callers
Method
enqueue
(element)
code/code/data_structures/src/queue/queue_using_linked_list/queue_using_linked_list.rb:12
↓ 5 callers
Method
enqueue
code/code/data_structures/src/queue/queue_using_linked_list/queue_using_linked_list.cpp:57
↓ 5 callers
Function
evaluation
code/code/artificial_intelligence/src/TSP/salesman.cpp:31
↓ 5 callers
Function
factorial
function to find factorial of given number
code/code/mathematical_algorithms/src/factorial/factorial.c:4
↓ 5 callers
Function
fast_power
(base,exponent int)
code/code/mathematical_algorithms/src/exponentiation_power/exponentiation_by_squaring/exponentiation_by_squaring.go:9
↓ 5 callers
Function
find
A utility function to find set of an element i (uses path compression technique)
code/code/greedy_algorithms/src/kruskal_minimum_spanning_tree/kruskal.c:46
↓ 5 callers
Function
find_optimal
code/code/data_structures/src/tree/multiway_tree/union_find/union_find.c:34
↓ 5 callers
Function
format
(inputString)
code/js/moment.js:3347
↓ 5 callers
Method
gcd
(int a, int b)
code/code/cryptography/src/affine_cipher/Affine.java:156
↓ 5 callers
Method
get
(long time)
code/code/data_structures/src/tree/space_partitioning_tree/interval_tree/interval_tree.java:271
↓ 5 callers
Method
getWeight
()
code/code/greedy_algorithms/src/fractional_knapsack/fractional_knapsack.java:86
↓ 5 callers
Function
getZone
(name, caller)
code/js/moment-timezone-with-data.js:395
← previous
next →
301–400 of 5,611, ranked by callers