Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGenus/cosmos
/ functions
Functions
8,543 in github.com/OpenGenus/cosmos
⨍
Functions
8,543
◇
Types & classes
1,606
↓ 6 callers
Method
close
test/c++/catch.hpp:9163
↓ 6 callers
Method
compareTo
Sorts by base area(length X width)
code/dynamic_programming/src/box_stacking/box_stacking.java:105
↓ 6 callers
Method
concat
(self, rope)
code/data_structures/src/tree/binary_tree/rope/rope.py:70
↓ 6 callers
Function
converter
code/divide_conquer/src/strassen_matrix_multiplication/main.cpp:55
↓ 6 callers
Function
copyRandomPartContainerToLists
code/data_structures/test/list/test_list.cpp:63
↓ 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/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_c/lgraph_struct.c:45
↓ 6 callers
Function
create_node
code/data_structures/src/tree/binary_tree/binary_tree/make_mirror_tree/make_mirror_tree.c:16
↓ 6 callers
Method
displayGraph
(Map<Integer,List<Edge>> graph, int n)
code/graph_algorithms/src/bipartite_checking/bipartite_checking_adjacency_list.java:214
↓ 6 callers
Method
empty?
code/data_structures/src/stack/stack/stack.rb:17
↓ 6 callers
Function
enqueue
code/data_structures/src/queue/queue_using_stack/queue_using_stack.c:72
↓ 6 callers
Function
factorial
function to find factorial of given number
code/mathematical_algorithms/src/factorial/factorial.c:4
↓ 6 callers
Function
failedString
test/c++/catch.hpp:10203
↓ 6 callers
Function
find
A utility function to find set of an element i (uses path compression technique)
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/data_structures/src/hashs/hash_table/hash_table.cpp:109
↓ 6 callers
Method
find
code/data_structures/src/tree/multiway_tree/union_find/union_find_dynamic.cpp:55
↓ 6 callers
Method
fit
Set up a the appropriate polynomial string for x_points, y_points values. Arguments: x_points, y_points: A list
code/numerical_analysis/polynomial_interpolations/src/lagrange_interpolation.py:27
↓ 6 callers
Function
freeLGraph
* Frees the given graph. * * @graph The graph to free. */
code/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_c/lgraph_struct.c:69
↓ 6 callers
Function
func
(*args)
code/dynamic_programming/src/factorial/factorial.py:10
↓ 6 callers
Method
getBalance
(Node N)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:63
↓ 6 callers
Method
getNextNode
()
code/data_structures/src/list/singly_linked_list/singly_linked_list.cs:36
↓ 6 callers
Method
getValue
getters
code/data_structures/src/list/singly_linked_list/singly_linked_list.cs:31
↓ 6 callers
Method
get_next
(self)
code/data_structures/src/list/singly_linked_list/singly_linked_list.py:10
↓ 6 callers
Method
getnodeAt
(int idx)
code/data_structures/src/list/singly_linked_list/operations/unclassified/linked_list.java:103
↓ 6 callers
Method
hasExpression
test/c++/catch.hpp:4236
↓ 6 callers
Method
hasNext
()
code/design_pattern/src/iterator_pattern/iterator.java:5
↓ 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/data_structures/src/hashs/bloom_filter/bloom_filter.java:287
↓ 6 callers
Function
heightUpdate
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.c:24
↓ 6 callers
Function
insert
code/languages/c/linear_search/linear_search_linked_list.c:14
↓ 6 callers
Function
insert
code/data_structures/src/tree/multiway_tree/van_emde_boas_tree/van_emde_boas.cpp:34
↓ 6 callers
Method
insert
(int itm)
code/data_structures/src/maxHeap/maxHeap.java:40
↓ 6 callers
Method
insert
(T data)
code/data_structures/src/queue/queue/queue.java:20
↓ 6 callers
Function
isSubsetSum
code/dynamic_programming/src/subset_sum/subset_sum.cpp:16
↓ 6 callers
Method
isValid
(String addr)
code/networking/src/validate_ip/ValidateIp.java:20
↓ 6 callers
Function
iter
(pts)
code/computational_geometry/src/jarvis_march/jarvis_march.py:36
↓ 6 callers
Function
leftRotate
code/data_structures/src/tree/binary_tree/binary_tree/balance_binary_tree/balance_bst_dsw.cpp:55
↓ 6 callers
Method
leftRotate
(Node x)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:48
↓ 6 callers
Function
max
* Exptected output: The value list is [12 34 1 23 5 8 19 10] The weight list is [5 4 3 7 6 5 1 6] For maxWeight 20, the max value is 89 */
code/dynamic_programming/src/knapsack/knapsack.go:14
↓ 6 callers
Function
median
Calculates the median of a list of numbers. import median from statistics in python 3.4 and above.
code/dynamic_programming/src/array_median/array_median.py:6
↓ 6 callers
Method
merge
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:766
↓ 6 callers
Function
min
A utility function to return minimum of two integers
code/dynamic_programming/src/binomial_coefficient/binomial_coefficient.c:10
↓ 6 callers
Function
newNode
function for inserting new nodes.
code/data_structures/src/list/circular_linked_list/operations/is_circular_linked_list.cpp:22
↓ 6 callers
Function
newNode
for inserting a new node
code/data_structures/src/tree/binary_tree/binary_tree/Subtree_sum/subtreesum_recursive.cpp:11
↓ 6 callers
Function
parent
* Return parent index * @param index current inter * @returns {number} parent index
code/data_structures/src/tree/heap/priority_queue/priority_queue.js:153
↓ 6 callers
Function
print
Print sorted array */
code/sorting/src/bubble_sort/bubble_sort.c:46
↓ 6 callers
Function
print
code/data_structures/src/list/singly_linked_list/operations/sort/bubble_sort.cpp:19
↓ 6 callers
Function
print
code/divide_conquer/src/strassen_matrix_multiplication/main.cpp:92
↓ 6 callers
Function
print_tree
code/data_structures/test/tree/multiway_tree/red_black_tree/test_red_black.c:65
↓ 6 callers
Method
push
(self, value)
code/data_structures/src/stack/sort_stack/sort_stack.py:11
↓ 6 callers
Method
push
code/data_structures/src/queue/circular_buffer/circular_buffer.cpp:31
↓ 6 callers
Method
put
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.kt:91
↓ 6 callers
Function
random
()
code/sorting/src/quick_sort/quick_sort.rs:109
↓ 6 callers
Method
resize
()
code/data_structures/src/tree/heap/max_heap/max_heap.java:36
↓ 6 callers
Function
rightRotate
code/data_structures/src/tree/binary_tree/binary_tree/balance_binary_tree/balance_bst_dsw.cpp:67
↓ 6 callers
Method
rightRotate
(Node y)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:33
↓ 6 callers
Method
root
(self, a)
code/data_structures/src/tree/multiway_tree/union_find/union_find.py:9
↓ 6 callers
Function
sbn_ary
code/algorithm_applications/src/Strassens algorithm/strassens algorithm.cpp:33
↓ 6 callers
Method
search
(self, val)
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/data_structures/src/list/singly_linked_list/singly_linked_list.cs:56
↓ 6 callers
Method
showDurations
test/c++/catch.hpp:5845
↓ 6 callers
Method
size
(self)
code/data_structures/src/stack/stack_using_queue/stack_using_queue.py:29
↓ 6 callers
Method
splay
(item Item)
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.go:17
↓ 6 callers
Method
stringToBinary
code/compression/src/lossless_compression/huffman/huffman.cpp:492
↓ 6 callers
Function
subtract
code/divide_conquer/src/strassen_matrix_multiplication/main.cpp:119
↓ 6 callers
Function
swap
code/randomized_algorithms/src/randomized_quick_sort/randomized_quicksort.c:39
↓ 6 callers
Function
swap
Swap two elements */
code/sorting/src/bubble_sort/bubble_sort.c:7
↓ 6 callers
Method
swap
(ref int a, ref int b)
code/sorting/src/median_sort/median_sort.cs:9
↓ 6 callers
Method
swap
(int fpos, int spos)
code/data_structures/src/tree/heap/min_heap/min_heap.java:82
↓ 6 callers
Function
test
code/graph_algorithms/test/push_relabel/test_push_relabel.cpp:11
↓ 6 callers
Method
union
(int a, int b)
code/data_structures/src/tree/multiway_tree/union_find/union_find.java:24
↓ 6 callers
Method
update
(self, event)
code/design_pattern/test/test_observer.py:22
↓ 6 callers
Function
update_pixel
(pixel, mean, magnitude)
code/computer_graphics/src/diamond_square/diamond_square.py:16
↓ 5 callers
Method
BFS
code/data_structures/src/tree/heap/binomial_heap/binomial_heap.cpp:106
↓ 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/data_structures/src/tree/multiway_tree/union_find/union_find.go:48
↓ 5 callers
Method
add
(self, key_val_pair)
code/data_structures/src/hashs/hash_table/hash_table.py:74
↓ 5 callers
Method
add
(self, node, val)
code/data_structures/src/tree/binary_tree/binary_tree/path_sum/sum_left/left_sum.py:21
↓ 5 callers
Method
addEdge
(int v, int w)
code/graph_algorithms/src/eulerian_path/eulerian_path.java:24
↓ 5 callers
Method
addEdge
code/graph_algorithms/src/strongly_connected_components/strongly_connected_components.cpp:63
↓ 5 callers
Method
addEdge
(self, u, v)
code/sorting/src/topological_sort/topological_sort.py:9
↓ 5 callers
Function
addbw
code/cryptography/src/huffman_encoding/huffman_encoding.c:56
↓ 5 callers
Function
addl
code/cryptography/src/huffman_encoding/huffman_encoding.c:41
↓ 5 callers
Function
and_2str
(string_1, string_2)
code/cryptography/src/sha/sha_256/sha_256.py:162
↓ 5 callers
Method
attach_notifier
notifier: Notifier-liked instance
code/design_pattern/src/OOP_patterns/observer_pattern/observer_pattern.py:67
↓ 5 callers
Function
checkPangram
code/string_algorithms/src/pangram_checker/pangram_checker.js:5
↓ 5 callers
Function
cnt
code/data_structures/src/tree/space_partitioning_tree/segment_tree/segment_tree_kth_statistics_on_segment.cpp:31
↓ 5 callers
Function
combine
(low: number[], high: number[])
code/sorting/src/merge_sort/merge_sort.ts:17
↓ 5 callers
Method
constCast
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:255
↓ 5 callers
Function
convertInto
test/c++/catch.hpp:4974
↓ 5 callers
Function
create_node
* Function to create new node. */
code/mathematical_algorithms/src/add_polynomials/add_polynomials.c:19
↓ 5 callers
Function
decypher
(ct, ky, process=False)
code/cryptography/src/aes_128/aes_128.py:1297
↓ 5 callers
Function
dequeue
code/data_structures/src/queue/queue_using_stack/queue_using_stack.c:78
↓ 5 callers
Method
display
void linkedlist::display(node *head)
code/data_structures/src/list/singly_linked_list/operations/unclassified/linked_list_operations.cpp:147
↓ 5 callers
Method
dist
(double x1, double y1, double x2, double y2)
code/cellular_automaton/src/genetic_algorithm/genetic_algorithm.java:138
↓ 5 callers
Method
draw
(self, renderer)
code/artificial_intelligence/src/principal_component_analysis/pca.py:65
↓ 5 callers
Method
enqueue
(element)
code/data_structures/src/queue/queue/queue.rb:9
↓ 5 callers
Method
enqueue
(element)
code/data_structures/src/queue/queue_using_linked_list/queue_using_linked_list.rb:12
↓ 5 callers
Method
enqueue
code/data_structures/src/queue/queue_using_linked_list/queue_using_linked_list.cpp:57
↓ 5 callers
Function
evaluation
code/artificial_intelligence/src/tsp/salesman.cpp:33
↓ 5 callers
Function
fast_power
(base,exponent int)
code/mathematical_algorithms/src/exponentiation_power/exponentiation_by_squaring/exponentiation_by_squaring.go:9
↓ 5 callers
Function
ffn
code/algorithm_applications/src/Strassens algorithm/strassens algorithm.cpp:144
↓ 5 callers
Function
fibonacci
code/mathematical_algorithms/src/fibonacci_number/fibonacci_number.kt:5
← previous
next →
401–500 of 8,543, ranked by callers