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
↓ 12 callers
Method
connect
(node)
code/graph_algorithms/src/depth_first_search/depth_first_search.rb:15
↓ 12 callers
Method
find
test/c++/catch.hpp:8743
↓ 12 callers
Function
get
(queue)
code/data_structures/src/queue/reverse_queue/reverse_queue.py:40
↓ 12 callers
Method
get
code/data_structures/src/tree/binary_tree/aa_tree/aa_tree.cpp:225
↓ 12 callers
Method
height
(self, Node)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.py.py:10
↓ 12 callers
Function
is_red
code/data_structures/src/tree/multiway_tree/red_black_tree/red_black_tree.c:18
↓ 12 callers
Method
max
(int a, int b)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:28
↓ 12 callers
Function
min
code/online_challenges/src/codechef/BACREP/BACREP.cpp:60
↓ 12 callers
Method
peek
(&mut self)
code/data_structures/src/stack/stack/stack.rs:21
↓ 12 callers
Method
print
code/greedy_algorithms/src/huffman_coding/huffman_coding.cpp:26
↓ 12 callers
Method
print
code/data_structures/src/list/singly_linked_list/singly_linked_list.h:119
↓ 12 callers
Method
size
()
code/data_structures/src/tree/heap/max_heap/max_heap.java:28
↓ 12 callers
Function
swap
Part of Cosmos by OpenGenus Foundation
code/sorting/src/median_sort/median_sort.cpp:6
↓ 12 callers
Method
toInt
code/artificial_intelligence/src/sat/togasat.cpp:92
↓ 12 callers
Method
value
code/data_structures/src/tree/binary_tree/binary_tree/node/node.cpp:122
↓ 11 callers
Function
advance
code/sorting/src/merge_sort/merge_sort.cpp:25
↓ 11 callers
Function
f
(args)
code/artificial_intelligence/src/particle_swarm_optimization/lbestPSO/LBest3D.py:6
↓ 11 callers
Function
f
code/numerical_analysis/integral/src/integral_rectangle.c:32
↓ 11 callers
Function
height
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.c:15
↓ 11 callers
Function
insert
code/data_structures/src/hashs/hash_table/hash_table.c:41
↓ 11 callers
Method
key
()
code/data_structures/src/list/skip_list/skip_list.java:66
↓ 11 callers
Function
push
A utility function to insert a node at the begining of a linked list*/
code/data_structures/src/list/singly_linked_list/operations/unclassified/union_intersection_in_list.c:68
↓ 11 callers
Function
spiralPrint
code/unclassified/src/spiral_print/spiral_print.cpp:5
↓ 11 callers
Function
trim
test/c++/catch.hpp:8515
↓ 11 callers
Function
xor_2str
(string_1, string_2)
code/cryptography/src/sha/sha_256/sha_256.py:152
↓ 10 callers
Method
Less
(i, j int)
code/greedy_algorithms/src/fractional_knapsack/fractional_knapsack.go:42
↓ 10 callers
Method
ToString
Returns a string representation of the stack.
code/data_structures/src/stack/stack/stack.cs:79
↓ 10 callers
Method
addEdge
(List<Edge>[] graph, int from, int to, double cost)
code/graph_algorithms/src/bellman_ford_algorithm/bellman_ford_algorithm_adjacency_list.java:32
↓ 10 callers
Method
addSeperateCode
code/compression/src/lossless_compression/huffman/huffman.cpp:467
↓ 10 callers
Method
add_edge
(self, u, v)
code/graph_algorithms/src/cycle_directed_graph/cycle_directed_graph.py:9
↓ 10 callers
Function
compare
(p1, p2)
code/computational_geometry/src/graham_scan/graham_scan.py:41
↓ 10 callers
Method
compare
(KDPoint n1,KDPoint n2)
code/data_structures/src/tree/space_partitioning_tree/kd_tree/kd_tree.java:154
↓ 10 callers
Method
contains
Checks if the bag contains a specific element @param element which you want to look for @return true if bag contains element, otherwise false
code/data_structures/src/bag/bag.java:59
↓ 10 callers
Method
data
test/c++/catch.hpp:8630
↓ 10 callers
Function
f
(x)
code/artificial_intelligence/src/particle_swarm_optimization/lbestPSO/Lbest2D.py:5
↓ 10 callers
Function
find
(f, node)
code/data_structures/src/disjoint_set/DisjointSet_DS.py:4
↓ 10 callers
Function
func
code/numerical_analysis/bisection/src/Bisection Method.cpp:11
↓ 10 callers
Method
getResultType
test/c++/catch.hpp:4232
↓ 10 callers
Method
getStart
()
code/data_structures/src/tree/space_partitioning_tree/interval_tree/interval_tree.java:24
↓ 10 callers
Method
hashFunction
(Key keyWord, int gFirst, int gLast, int modValue)
code/algorithm_applications/src/Cichelli's Perfect Hashing Alogorithm/Hashing.java:323
↓ 10 callers
Function
insert
code/sorting/src/merge_sort/merge_sort_linked_list.c:13
↓ 10 callers
Method
print
()
code/divide_conquer/src/merge_sort_using_divide_and_conquer/merge_sort_using_divide_and_conquer.java:64
↓ 10 callers
Function
push
Function to push an item to stack*/
code/data_structures/src/stack/reverse_stack/reverse_stack.c:106
↓ 10 callers
Method
push
(self, val)
code/data_structures/src/stack/stack_using_queue/stack_using_queue.py:13
↓ 10 callers
Method
reset
test/c++/catch.hpp:6493
↓ 10 callers
Function
rotate_right
(bit_string, n)
code/cryptography/src/sha/sha_256/sha_256.py:133
↓ 10 callers
Function
swap
A utility function to swap two points
code/computational_geometry/src/graham_scan/graham_scan2.cpp:27
↓ 10 callers
Function
swap
code/mathematical_algorithms/src/shuffle_array/shuffle_array.c:5
↓ 10 callers
Function
toLower
test/c++/catch.hpp:8510
↓ 10 callers
Method
toString
()
code/cellular_automaton/src/elementary_cellular_automata/elementarycellularautomaton.java:66
↓ 10 callers
Method
value
test/c++/catch.hpp:10640
↓ 9 callers
Function
FirstNonZero
Find the index of the first non zero value in a row returns -1 if all but the last value are zero
code/mathematical_algorithms/src/matrix_row_reduction/matrix_row_reduction.cpp:179
↓ 9 callers
Function
ModExp
(a, exp, mod)
code/quantum_algorithms/shors_algorithm/P1_shor_primefactorization.py:368
↓ 9 callers
Function
addEdge
code/graph_algorithms/src/breadth_first_search/breadth_first_search.cpp:45
↓ 9 callers
Method
addNode
(binary_search_tree root, int value)
code/data_structures/src/tree/binary_tree/binary_tree/tree/tree2.java:80
↓ 9 callers
Function
bitwiseAddition
Function to add two numbers using bitwise operators
code/bit_manipulation/src/addition_using_bits/addition_using_bits.c:11
↓ 9 callers
Method
configure
* Configure the schedule
code/operating_system/src/scheduling/multi_level_feedback_queue_scheduling/mlfq.ts:355
↓ 9 callers
Function
delC
deletion cost
code/dynamic_programming/src/edit_distance/edit_distance_hirschberg.cpp:26
↓ 9 callers
Method
empty
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.cpp:313
↓ 9 callers
Function
f
(args)
code/artificial_intelligence/src/particle_swarm_optimization/gbestPSO/Gbest3D.py:6
↓ 9 callers
Method
find_octant
Find which octant contains a specific point.
code/data_structures/src/tree/space_partitioning_tree/oc_tree/oc_tree.py:95
↓ 9 callers
Method
getEnd
()
code/data_structures/src/tree/space_partitioning_tree/interval_tree/interval_tree.java:34
↓ 9 callers
Function
getRandomValueContainer
code/data_structures/test/list/test_list.cpp:31
↓ 9 callers
Function
high
code/data_structures/src/tree/multiway_tree/van_emde_boas_tree/van_emde_boas.cpp:14
↓ 9 callers
Method
insert
(int element)
code/data_structures/src/tree/heap/min_heap/min_heap.java:136
↓ 9 callers
Method
insert
(Node node, int key)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:70
↓ 9 callers
Method
isOk
Result was a success, or failure is suppressed
test/c++/catch.hpp:4228
↓ 9 callers
Function
max
code/artificial_intelligence/src/support_vector_machine/svm.c:458
↓ 9 callers
Function
max
code/dynamic_programming/src/longest_common_subsequence/longest_common_subsequence.c:11
↓ 9 callers
Function
orientation
* Returns orientation of the line joining Points p and q and line joining Points q and r * Returns -1 : CW orientation +1 : CCW orientatio
code/computational_geometry/src/chans_algorithm/chans_algorithm.cpp:70
↓ 9 callers
Method
permutation
per-mutate input hexadecimal according to specified sequence @param sequence permutation table @param input @return
code/cryptography/src/des_cipher/des_java/DES.java:101
↓ 9 callers
Method
pop
(self)
code/data_structures/src/stack/stack_using_queue/stack_using_queue.py:23
↓ 9 callers
Method
push
(self, item)
code/data_structures/src/stack/reverse_stack/reverse_stack.py:15
↓ 9 callers
Function
search
(text, pattern)
code/string_algorithms/src/z_algorithm/z_algorithm.py:31
↓ 9 callers
Method
test
(self)
code/graph_algorithms/src/eulerian_path/eulerian_path.py:71
↓ 9 callers
Function
test_pangram
code/string_algorithms/src/pangram_checker/pangram.cpp:65
↓ 9 callers
Method
to_s
code/data_structures/src/tree/binary_tree/binary_tree/tree/tree.rb:19
↓ 9 callers
Function
union_set
(f, x, y)
code/data_structures/src/disjoint_set/DisjointSet_DS.py:11
↓ 9 callers
Function
union_set
code/data_structures/src/disjoint_set/DisjointSet(DS).cpp:15
↓ 9 callers
Function
value
Evaluate the board at the current state Args: board (Board): Current board state depth_limit (int): Depth limit
code/game_theory/src/minimax/minimax.py:65
↓ 9 callers
Method
value
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.cpp:138
↓ 8 callers
Function
addEdge
code/graph_algorithms/src/depth_first_search/depth_first_search.cpp:17
↓ 8 callers
Method
addEdge
(self, u, v, w)
code/graph_algorithms/src/bellman_ford_algorithm/bellman_ford_algorithm.py:13
↓ 8 callers
Method
addEdge
(u, v, w)
code/graph_algorithms/src/bellman_ford_algorithm/bellman_ford_algorithm.js:14
↓ 8 callers
Method
addLast
(int data)
code/data_structures/src/list/singly_linked_list/operations/unclassified/linked_list.java:70
↓ 8 callers
Method
addRow
test/c++/catch.hpp:11020
↓ 8 callers
Function
aloc_ary
code/algorithm_applications/src/Strassens algorithm/strassens algorithm.cpp:12
↓ 8 callers
Method
binaryToHex
return string always fill 0 while size is not N * GUARANTEE_BIT
code/compression/src/lossless_compression/huffman/huffman.cpp:505
↓ 8 callers
Function
bitwiseAdditionRecursive
recursive function
code/bit_manipulation/src/addition_using_bits/addition_using_bits.c:30
↓ 8 callers
Function
checkSquare
code/mathematical_algorithms/src/check_is_square/check_is_square.kt:7
↓ 8 callers
Function
check_is_square
(input)
code/mathematical_algorithms/src/check_is_square/check_is_square_alternative.py:4
↓ 8 callers
Method
compare
( Comparable item, RedBlackNode t )
code/data_structures/src/tree/multiway_tree/red_black_tree/red_black_tree.java:8
↓ 8 callers
Method
compression
code/compression/src/lossless_compression/huffman/huffman.cpp:175
↓ 8 callers
Method
create
(self, a)
code/data_structures/src/tree/multiway_tree/union_find/union_find.py:25
↓ 8 callers
Function
dec_to_hex
(dec)
code/cryptography/src/sha/sha_256/sha_256.py:96
↓ 8 callers
Method
decompression
code/compression/src/lossless_compression/huffman/huffman.cpp:204
↓ 8 callers
Method
empty
code/operating_system/src/memory_management/partitioned_allocation/best_fit.cpp:38
↓ 8 callers
Function
f
(x)
code/artificial_intelligence/src/particle_swarm_optimization/gbestPSO/Gbest2D.py:5
↓ 8 callers
Method
find
(v)
code/data_structures/src/tree/multiway_tree/union_find/union_find.js:9
↓ 8 callers
Function
gMult
(a, b)
code/cryptography/src/aes_128/aes_128.py:1079
← previous
next →
201–300 of 8,543, ranked by callers