MCPcopy Create free account

hub / github.com/OpenGenus/cosmos / functions

Functions8,543 in github.com/OpenGenus/cosmos

↓ 6 callersMethodclose
test/c++/catch.hpp:9163
↓ 6 callersMethodcompareTo
Sorts by base area(length X width)
code/dynamic_programming/src/box_stacking/box_stacking.java:105
↓ 6 callersMethodconcat
(self, rope)
code/data_structures/src/tree/binary_tree/rope/rope.py:70
↓ 6 callersFunctionconverter
code/divide_conquer/src/strassen_matrix_multiplication/main.cpp:55
↓ 6 callersFunctioncopyRandomPartContainerToLists
code/data_structures/test/list/test_list.cpp:63
↓ 6 callersFunctioncreateLGraph
* 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 callersFunctioncreate_node
code/data_structures/src/tree/binary_tree/binary_tree/make_mirror_tree/make_mirror_tree.c:16
↓ 6 callersMethoddisplayGraph
(Map<Integer,List<Edge>> graph, int n)
code/graph_algorithms/src/bipartite_checking/bipartite_checking_adjacency_list.java:214
↓ 6 callersMethodempty?
code/data_structures/src/stack/stack/stack.rb:17
↓ 6 callersFunctionenqueue
code/data_structures/src/queue/queue_using_stack/queue_using_stack.c:72
↓ 6 callersFunctionfactorial
function to find factorial of given number
code/mathematical_algorithms/src/factorial/factorial.c:4
↓ 6 callersFunctionfailedString
test/c++/catch.hpp:10203
↓ 6 callersFunctionfind
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 callersMethodfind
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 callersMethodfind
code/data_structures/src/tree/multiway_tree/union_find/union_find_dynamic.cpp:55
↓ 6 callersMethodfit
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 callersFunctionfreeLGraph
* 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 callersFunctionfunc
(*args)
code/dynamic_programming/src/factorial/factorial.py:10
↓ 6 callersMethodgetBalance
(Node N)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:63
↓ 6 callersMethodgetNextNode
()
code/data_structures/src/list/singly_linked_list/singly_linked_list.cs:36
↓ 6 callersMethodgetValue
getters
code/data_structures/src/list/singly_linked_list/singly_linked_list.cs:31
↓ 6 callersMethodget_next
(self)
code/data_structures/src/list/singly_linked_list/singly_linked_list.py:10
↓ 6 callersMethodgetnodeAt
(int idx)
code/data_structures/src/list/singly_linked_list/operations/unclassified/linked_list.java:103
↓ 6 callersMethodhasExpression
test/c++/catch.hpp:4236
↓ 6 callersMethodhasNext
()
code/design_pattern/src/iterator_pattern/iterator.java:5
↓ 6 callersMethodhash
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 callersFunctionheightUpdate
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.c:24
↓ 6 callersFunctioninsert
code/languages/c/linear_search/linear_search_linked_list.c:14
↓ 6 callersFunctioninsert
code/data_structures/src/tree/multiway_tree/van_emde_boas_tree/van_emde_boas.cpp:34
↓ 6 callersMethodinsert
(int itm)
code/data_structures/src/maxHeap/maxHeap.java:40
↓ 6 callersMethodinsert
(T data)
code/data_structures/src/queue/queue/queue.java:20
↓ 6 callersFunctionisSubsetSum
code/dynamic_programming/src/subset_sum/subset_sum.cpp:16
↓ 6 callersMethodisValid
(String addr)
code/networking/src/validate_ip/ValidateIp.java:20
↓ 6 callersFunctioniter
(pts)
code/computational_geometry/src/jarvis_march/jarvis_march.py:36
↓ 6 callersFunctionleftRotate
code/data_structures/src/tree/binary_tree/binary_tree/balance_binary_tree/balance_bst_dsw.cpp:55
↓ 6 callersMethodleftRotate
(Node x)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:48
↓ 6 callersFunctionmax
* 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 callersFunctionmedian
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 callersMethodmerge
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:766
↓ 6 callersFunctionmin
A utility function to return minimum of two integers
code/dynamic_programming/src/binomial_coefficient/binomial_coefficient.c:10
↓ 6 callersFunctionnewNode
function for inserting new nodes.
code/data_structures/src/list/circular_linked_list/operations/is_circular_linked_list.cpp:22
↓ 6 callersFunctionnewNode
for inserting a new node
code/data_structures/src/tree/binary_tree/binary_tree/Subtree_sum/subtreesum_recursive.cpp:11
↓ 6 callersFunctionparent
* Return parent index * @param index current inter * @returns {number} parent index
code/data_structures/src/tree/heap/priority_queue/priority_queue.js:153
↓ 6 callersFunctionprint
Print sorted array */
code/sorting/src/bubble_sort/bubble_sort.c:46
↓ 6 callersFunctionprint
code/data_structures/src/list/singly_linked_list/operations/sort/bubble_sort.cpp:19
↓ 6 callersFunctionprint
code/divide_conquer/src/strassen_matrix_multiplication/main.cpp:92
↓ 6 callersFunctionprint_tree
code/data_structures/test/tree/multiway_tree/red_black_tree/test_red_black.c:65
↓ 6 callersMethodpush
(self, value)
code/data_structures/src/stack/sort_stack/sort_stack.py:11
↓ 6 callersMethodpush
code/data_structures/src/queue/circular_buffer/circular_buffer.cpp:31
↓ 6 callersMethodput
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.kt:91
↓ 6 callersFunctionrandom
()
code/sorting/src/quick_sort/quick_sort.rs:109
↓ 6 callersMethodresize
()
code/data_structures/src/tree/heap/max_heap/max_heap.java:36
↓ 6 callersFunctionrightRotate
code/data_structures/src/tree/binary_tree/binary_tree/balance_binary_tree/balance_bst_dsw.cpp:67
↓ 6 callersMethodrightRotate
(Node y)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:33
↓ 6 callersMethodroot
(self, a)
code/data_structures/src/tree/multiway_tree/union_find/union_find.py:9
↓ 6 callersFunctionsbn_ary
code/algorithm_applications/src/Strassens algorithm/strassens algorithm.cpp:33
↓ 6 callersMethodsearch
(self, val)
code/data_structures/src/tree/binary_tree/binary_tree/tree/tree.py:118
↓ 6 callersMethodsetNext
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 callersMethodshowDurations
test/c++/catch.hpp:5845
↓ 6 callersMethodsize
(self)
code/data_structures/src/stack/stack_using_queue/stack_using_queue.py:29
↓ 6 callersMethodsplay
(item Item)
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.go:17
↓ 6 callersMethodstringToBinary
code/compression/src/lossless_compression/huffman/huffman.cpp:492
↓ 6 callersFunctionsubtract
code/divide_conquer/src/strassen_matrix_multiplication/main.cpp:119
↓ 6 callersFunctionswap
code/randomized_algorithms/src/randomized_quick_sort/randomized_quicksort.c:39
↓ 6 callersFunctionswap
Swap two elements */
code/sorting/src/bubble_sort/bubble_sort.c:7
↓ 6 callersMethodswap
(ref int a, ref int b)
code/sorting/src/median_sort/median_sort.cs:9
↓ 6 callersMethodswap
(int fpos, int spos)
code/data_structures/src/tree/heap/min_heap/min_heap.java:82
↓ 6 callersFunctiontest
code/graph_algorithms/test/push_relabel/test_push_relabel.cpp:11
↓ 6 callersMethodunion
(int a, int b)
code/data_structures/src/tree/multiway_tree/union_find/union_find.java:24
↓ 6 callersMethodupdate
(self, event)
code/design_pattern/test/test_observer.py:22
↓ 6 callersFunctionupdate_pixel
(pixel, mean, magnitude)
code/computer_graphics/src/diamond_square/diamond_square.py:16
↓ 5 callersMethodBFS
code/data_structures/src/tree/heap/binomial_heap/binomial_heap.cpp:106
↓ 5 callersMethodRoot
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 callersMethodadd
(self, key_val_pair)
code/data_structures/src/hashs/hash_table/hash_table.py:74
↓ 5 callersMethodadd
(self, node, val)
code/data_structures/src/tree/binary_tree/binary_tree/path_sum/sum_left/left_sum.py:21
↓ 5 callersMethodaddEdge
(int v, int w)
code/graph_algorithms/src/eulerian_path/eulerian_path.java:24
↓ 5 callersMethodaddEdge
code/graph_algorithms/src/strongly_connected_components/strongly_connected_components.cpp:63
↓ 5 callersMethodaddEdge
(self, u, v)
code/sorting/src/topological_sort/topological_sort.py:9
↓ 5 callersFunctionaddbw
code/cryptography/src/huffman_encoding/huffman_encoding.c:56
↓ 5 callersFunctionaddl
code/cryptography/src/huffman_encoding/huffman_encoding.c:41
↓ 5 callersFunctionand_2str
(string_1, string_2)
code/cryptography/src/sha/sha_256/sha_256.py:162
↓ 5 callersMethodattach_notifier
notifier: Notifier-liked instance
code/design_pattern/src/OOP_patterns/observer_pattern/observer_pattern.py:67
↓ 5 callersFunctioncheckPangram
code/string_algorithms/src/pangram_checker/pangram_checker.js:5
↓ 5 callersFunctioncnt
code/data_structures/src/tree/space_partitioning_tree/segment_tree/segment_tree_kth_statistics_on_segment.cpp:31
↓ 5 callersFunctioncombine
(low: number[], high: number[])
code/sorting/src/merge_sort/merge_sort.ts:17
↓ 5 callersMethodconstCast
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:255
↓ 5 callersFunctionconvertInto
test/c++/catch.hpp:4974
↓ 5 callersFunctioncreate_node
* Function to create new node. */
code/mathematical_algorithms/src/add_polynomials/add_polynomials.c:19
↓ 5 callersFunctiondecypher
(ct, ky, process=False)
code/cryptography/src/aes_128/aes_128.py:1297
↓ 5 callersFunctiondequeue
code/data_structures/src/queue/queue_using_stack/queue_using_stack.c:78
↓ 5 callersMethoddisplay
void linkedlist::display(node *head)
code/data_structures/src/list/singly_linked_list/operations/unclassified/linked_list_operations.cpp:147
↓ 5 callersMethoddist
(double x1, double y1, double x2, double y2)
code/cellular_automaton/src/genetic_algorithm/genetic_algorithm.java:138
↓ 5 callersMethoddraw
(self, renderer)
code/artificial_intelligence/src/principal_component_analysis/pca.py:65
↓ 5 callersMethodenqueue
(element)
code/data_structures/src/queue/queue/queue.rb:9
↓ 5 callersMethodenqueue
(element)
code/data_structures/src/queue/queue_using_linked_list/queue_using_linked_list.rb:12
↓ 5 callersMethodenqueue
code/data_structures/src/queue/queue_using_linked_list/queue_using_linked_list.cpp:57
↓ 5 callersFunctionevaluation
code/artificial_intelligence/src/tsp/salesman.cpp:33
↓ 5 callersFunctionfast_power
(base,exponent int)
code/mathematical_algorithms/src/exponentiation_power/exponentiation_by_squaring/exponentiation_by_squaring.go:9
↓ 5 callersFunctionffn
code/algorithm_applications/src/Strassens algorithm/strassens algorithm.cpp:144
↓ 5 callersFunctionfibonacci
code/mathematical_algorithms/src/fibonacci_number/fibonacci_number.kt:5
← previousnext →401–500 of 8,543, ranked by callers