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
↓ 26 callers
Function
bin_to_dec
(bin_string)
code/cryptography/src/sha/sha_256/sha_256.py:100
↓ 26 callers
Method
isSameTree
code/data_structures/src/tree/binary_tree/binary_tree/is_same/is_same.cpp:35
↓ 26 callers
Method
rangeQuery
* @brief Range query in segment tree. Essentially performs the `combine_` function * on the range `array[l, r]` (bounds are inclusive)
code/data_structures/src/tree/segment_tree/generic_segment_tree.cpp:95
↓ 25 callers
Function
isPalindrome
code/unclassified/src/palindrome/palindrome_check/palindrome_check.c:4
↓ 25 callers
Method
map
(self, toRegister, mapping, propagate=True)
code/quantum_algorithms/shors_algorithm/P1_shor_primefactorization.py:84
↓ 25 callers
Function
min
Utility function to find minimum of three numbers */
code/dynamic_programming/src/edit_distance/edit_distance.c:21
↓ 25 callers
Method
pop
code/data_structures/src/tree/heap/min_heap/min_heap.rb:17
↓ 25 callers
Method
value
code/data_structures/src/tree/multiway_tree/red_black_tree/red_black_tree.cpp:21
↓ 24 callers
Method
crend
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:758
↓ 24 callers
Function
max
helper function to get maximum of two integers
code/dynamic_programming/src/longest_bitonic_sequence/longest_bitonic_sequence.c:6
↓ 24 callers
Method
push_front
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:633
↓ 23 callers
Method
remove
* Bag::remove * This function removes a random item from the bag and returns which item was * removed from the bag *********************
code/data_structures/src/bag/bag.cpp:75
↓ 22 callers
Function
Dot
code/computational_geometry/src/sphere_tetrahedron_intersection/luvector.hpp:585
↓ 22 callers
Method
print
code/mathematical_algorithms/src/add_polynomials/add_polynomials.cpp:71
↓ 22 callers
Function
printMatrix
(matrix)
code/cryptography/src/aes_128/aes_128.py:1562
↓ 22 callers
Method
push
code/operating_system/src/memory_management/partitioned_allocation/best_fit.cpp:22
↓ 22 callers
Method
right
code/data_structures/src/tree/binary_tree/binary_tree/node/node.cpp:142
↓ 21 callers
Function
Unroll
code/computational_geometry/src/sphere_tetrahedron_intersection/luvector.hpp:160
↓ 21 callers
Function
getline
()
code/mathematical_algorithms/src/sum_of_digits/sum_of_digits.go:20
↓ 21 callers
Method
left
code/data_structures/src/tree/binary_tree/binary_tree/node/node.cpp:132
↓ 21 callers
Method
pop_front
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:618
↓ 21 callers
Method
print
()
code/data_structures/src/tree/tree/trie/trie.js:44
↓ 21 callers
Method
push
(self, item)
code/data_structures/src/stack/infix_to_postfix/infix_to_postfix.py:9
↓ 21 callers
Method
readLine
()
code/languages/Java/Reduce_Time_complexity.java:46
↓ 21 callers
Method
show
()
code/data_structures/src/hashs/hash_table/hash_table.cs:50
↓ 21 callers
Function
swap
A utility function to swap to integers
code/sorting/src/heap_sort/heap_sort.c:14
↓ 20 callers
Method
add
(input, node = this.root)
code/data_structures/src/tree/tree/trie/trie.js:21
↓ 20 callers
Method
addEdge
(self, u, v)
code/graph_algorithms/src/eulerian_path/eulerian_path.py:15
↓ 20 callers
Method
cbegin
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:695
↓ 20 callers
Method
cend
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:716
↓ 20 callers
Function
comp
code/data_structures/src/tree/tree/suffix_array/suffix_array.cpp:16
↓ 20 callers
Function
max
code/online_challenges/src/codechef/BACREP/BACREP.cpp:64
↓ 19 callers
Method
add
(self, data)
code/data_structures/src/list/circular_linked_list/operations/has_loop.py:35
↓ 19 callers
Method
check
<p> Checks if the element is a member of the bloom filter. T:: O(k); where k is the number of hash functions @param element The element th
code/data_structures/src/hashs/bloom_filter/bloom_filter.java:155
↓ 19 callers
Function
isPalindromeRecursive
code/unclassified/src/palindrome/palindrome_check/palindrome_check.cpp:10
↓ 19 callers
Method
items
(self)
code/data_structures/src/bag/bag.py:28
↓ 19 callers
Method
multiply
(String s1,String s2,int n)
code/divide_conquer/src/karatsuba_multiplication/multiply.java:40
↓ 19 callers
Function
swap
code/data_structures/src/tree/heap/min_heap/min_heap.c:12
↓ 19 callers
Method
trim
(String str,int n)
code/divide_conquer/src/karatsuba_multiplication/multiply.java:9
↓ 18 callers
Method
Print
(self)
code/data_structures/src/maxHeap/maxheap.py:87
↓ 18 callers
Function
gLG_NbNodes
---------------------------GETTERS-----------------------------------------*/
code/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_c/lgraph_struct.c:9
↓ 18 callers
Function
hex_to_dec
(hex_string)
code/cryptography/src/sha/sha_256/sha_256.py:104
↓ 18 callers
Method
scopedElement
test/c++/catch.hpp:10074
↓ 18 callers
Method
split
(self, ind)
code/data_structures/src/tree/binary_tree/rope/rope.py:76
↓ 18 callers
Function
var
code/mathematical_algorithms/src/std/std.cpp:15
↓ 17 callers
Method
compareTo
(Interval<Type> other)
code/data_structures/src/tree/space_partitioning_tree/interval_tree/interval_tree.java:64
↓ 17 callers
Method
erase
code/data_structures/src/tree/multiway_tree/red_black_tree/red_black_tree.cpp:183
↓ 17 callers
Method
getPositionInGFirst
()
code/algorithm_applications/src/Cichelli's Perfect Hashing Alogorithm/Key.java:74
↓ 17 callers
Function
mod_32_addition
(input_set)
code/cryptography/src/sha/sha_256/sha_256.py:148
↓ 17 callers
Method
pop
(self)
code/data_structures/src/queue/queue_using_stack/queue_using_stack.py:11
↓ 17 callers
Method
push
(self, x)
code/data_structures/src/queue/queue_using_stack/queue_using_stack.py:8
↓ 17 callers
Method
reverse
code/data_structures/src/Linked_List/Add_one_to_LL.cpp:4
↓ 17 callers
Method
total
test/c++/catch.hpp:9761
↓ 16 callers
Method
Next
()
code/cellular_automaton/src/conways_game_of_life/life.go:60
↓ 16 callers
Method
addEdge
(self,u,v)
code/graph_algorithms/src/bridges_in_graph/Count_bridges.py:15
↓ 16 callers
Method
addUndirectedEdge
( Map <Integer, List <Edge>> graph, int from, int to)
code/graph_algorithms/src/bipartite_checking/bipartite_checking_adjacency_list.java:199
↓ 16 callers
Function
connect
Establish a connection of given weight
code/graph_algorithms/src/prim_minimum_spanning_tree/prim_minimum_spanning_tree.c:21
↓ 16 callers
Method
empty
code/data_structures/src/tree/binary_tree/aa_tree/aa_tree.cpp:198
↓ 16 callers
Method
isEmpty
* Bag::isEmpty * This function returns true if the bag is empty and returns false if the * bag is not empty ***************************
code/data_structures/src/bag/bag.cpp:51
↓ 16 callers
Function
min
code/data_structures/src/tree/binary_tree/binary_tree/minimum_height/minimum_height.c:52
↓ 16 callers
Method
peek
(self)
code/data_structures/src/stack/infix_to_postfix/infix_to_postfix.py:15
↓ 16 callers
Method
print
( int[][] board, int N)
code/backtracking/src/sudoku_solve/sudoku_solver.java:87
↓ 16 callers
Method
reserve
! \brief Increase the storage capacity of the array to a value * that’s is greater or equal to 'new_cap'. * \param new_cap New capacity. *
code/data_structures/src/queue/queue/queue.cpp:115
↓ 15 callers
Function
gEdge_DestNode
code/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_c/lgraph_struct.c:18
↓ 15 callers
Method
getPositionInGLast
()
code/algorithm_applications/src/Cichelli's Perfect Hashing Alogorithm/Key.java:83
↓ 15 callers
Method
insert
Insert the given value in the tree. The tree is traveled until an empty sub-tree is found: If the value is lesser than the one hold by the current no
code/sorting/src/tree_sort/tree_sort.go:40
↓ 15 callers
Method
print
code/computational_geometry/src/halfplane_intersection/halfplane_intersection.cpp:35
↓ 15 callers
Method
read
()
code/languages/Java/Reduce_Time_complexity.java:116
↓ 14 callers
Method
addEdge
adds edge between u and v of weight w
code/greedy_algorithms/src/dials_algorithm/dials_algorithm.cpp:34
↓ 14 callers
Method
add_edge
(self, u, v, w)
code/graph_algorithms/src/dijkstra_shortest_path/dijkstra_shortest_path_efficient.py:86
↓ 14 callers
Method
c_str
test/c++/catch.hpp:8625
↓ 14 callers
Method
emplace_back
code/data_structures/src/list/xor_linked_list/xor_linked_list.cpp:500
↓ 14 callers
Function
f
code/numerical_analysis/runge_kutt/src/rk4.c:62
↓ 14 callers
Function
getHeight
helper function to return height of a node
code/mathematical_algorithms/src/2sum/2sum.c:32
↓ 14 callers
Method
get_key
(self)
code/data_structures/src/hashs/hash_table/hash_table.py:28
↓ 14 callers
Method
height
(Node N)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.java:20
↓ 14 callers
Method
insert
(self, tup)
code/graph_algorithms/src/dijkstra_shortest_path/dijkstra_shortest_path_efficient.py:32
↓ 14 callers
Method
open
test/c++/catch.hpp:9156
↓ 14 callers
Method
size
(self)
code/data_structures/src/tree/binary_tree/rope/rope.py:12
↓ 14 callers
Function
startsWith
test/c++/catch.hpp:8489
↓ 14 callers
Function
swap
code/data_structures/test/tree/multiway_tree/red_black_tree/test_red_black.c:152
↓ 14 callers
Method
testSpec
test/c++/catch.hpp:9415
↓ 13 callers
Method
AddNode
(coeff, pow int)
code/mathematical_algorithms/src/add_polynomials/add_polynomials.go:15
↓ 13 callers
Function
add
code/divide_conquer/src/strassen_matrix_multiplication/main.cpp:102
↓ 13 callers
Method
add
<p> Adds the element into the bloom filter. To get added, it must pass through the k hash functions of the bloom filter. T:: O(k); where k is the num
code/data_structures/src/hashs/bloom_filter/bloom_filter.java:125
↓ 13 callers
Method
append
Inserts New data at the ending of the Linked List Takes O(n) time
code/data_structures/src/list/singly_linked_list/operations/find/find.py:37
↓ 13 callers
Function
dec_to_bin_32_bit
(dec)
code/cryptography/src/sha/sha_256/sha_256.py:88
↓ 13 callers
Function
distance
(p, p1, p2)
code/computational_geometry/src/jarvis_march/jarvis_march.py:32
↓ 13 callers
Method
forward
(self, x)
code/artificial_intelligence/src/residual_convolutional_neural_network/main.py:35
↓ 13 callers
Function
getBalance
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.c:36
↓ 13 callers
Method
indent
test/c++/catch.hpp:4534
↓ 13 callers
Function
insert
code/data_structures/src/list/singly_linked_list/operations/find/find.c:10
↓ 13 callers
Method
insert_term
code/mathematical_algorithms/src/add_polynomials/add_polynomials.cpp:38
↓ 13 callers
Method
name
test/c++/catch.hpp:5842
↓ 13 callers
Method
parse
test/c++/catch.hpp:5249
↓ 12 callers
Method
Push
(v int)
code/data_structures/src/stack/reverse_stack/reverse_stack.go:21
↓ 12 callers
Method
addEdge
code/graph_algorithms/src/graph_coloring/graph_coloring.cpp:28
↓ 12 callers
Function
addRoundKey
(stmt, rk)
code/cryptography/src/aes_128/aes_128.py:1196
↓ 12 callers
Function
adn_ary
code/algorithm_applications/src/Strassens algorithm/strassens algorithm.cpp:23
↓ 12 callers
Method
connect
(node)
code/graph_algorithms/src/breadth_first_search/breadth_first_search.rb:15
← previous
next →
101–200 of 8,543, ranked by callers