MCPcopy Create free account

hub / github.com/OpenGenus/cosmos / functions

Functions8,543 in github.com/OpenGenus/cosmos

↓ 3 callersFunctionremoveDups
code/string_algorithms/src/remove_dups/remove_dups.js:1
↓ 3 callersMethodreverse
(int[] p, int i, int j)
code/cellular_automaton/src/genetic_algorithm/genetic_algorithm.java:118
↓ 3 callersMethodright
code/cellular_automaton/src/langtons_ant/langtons_ant.cpp:36
↓ 3 callersMethodrotateL
(self, Node)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.py.py:32
↓ 3 callersMethodrotateLeft
(Node h)
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.java:191
↓ 3 callersMethodrotateR
(self, Node)
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.py.py:22
↓ 3 callersMethodrotateRight
(Node h)
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.java:183
↓ 3 callersFunctionrun
()
code/artificial_intelligence/src/q_learning/q_learning.js:184
↓ 3 callersMethodrunOrder
test/c++/catch.hpp:5846
↓ 3 callersFunctionsNode_EdgesHead
code/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_c/lgraph_struct.c:29
↓ 3 callersMethodscan
code/computational_geometry/src/halfplane_intersection/halfplane_intersection.cpp:31
↓ 3 callersFunctionsd
(arr)
code/mathematical_algorithms/src/std/std.js:1
↓ 3 callersMethodsearch
Function to search key k in subtree rooted with this node
code/data_structures/src/tree/b_tree/b_tree/b_tree.cpp:100
↓ 3 callersMethodsectionEnded
test/c++/catch.hpp:7800
↓ 3 callersFunctionseedRng
test/c++/catch.hpp:7240
↓ 3 callersMethodseperateHeaderAndCode
code/compression/src/lossless_compression/huffman/huffman.cpp:376
↓ 3 callersMethodsetCost
(Integer cost)
code/graph_algorithms/src/dijkstra_shortest_path/dijkstra_shortest_path.java:45
↓ 3 callersMethodsetData
code/data_structures/src/list/singly_linked_list/singly_linked_list_with_classes.cpp:11
↓ 3 callersMethodsetUnassignedLetterPosition
(int position)
code/algorithm_applications/src/Cichelli's Perfect Hashing Alogorithm/Key.java:87
↓ 3 callersMethodsetValue
test/c++/catch.hpp:5040
↓ 3 callersFunctionshow
Display Linked list. */
code/mathematical_algorithms/src/add_polynomials/add_polynomials.c:103
↓ 3 callersMethodsize
code/data_structures/src/queue/queue_using_linked_list/queue_using_linked_list.cpp:90
↓ 3 callersMethodsize
(self)
code/data_structures/src/list/singly_linked_list/singly_linked_list.py:21
↓ 3 callersMethodsize
()
code/data_structures/src/list/singly_linked_list/operations/unclassified/linked_list.java:17
↓ 3 callersFunctionsizeof
(root)
code/data_structures/src/binary_heap/binary_heap.py:13
↓ 3 callersMethodsolve
code/design_pattern/src/policy_based_design/policy_design.cpp:28
↓ 3 callersFunctionspiral_print
code/mathematical_algorithms/src/spiral_matrix/recursive_spiral_matrix.cpp:48
↓ 3 callersFunctionsplit_string
code/online_challenges/src/hackerrank/Electronics_Shop/Electronics_Shop.cpp:82
↓ 3 callersFunctionstrassen
code/divide_conquer/src/strassen_matrix_multiplication/main.cpp:159
↓ 3 callersFunctionswap
code/randomized_algorithms/src/kth_smallest_element_algorithm/kth_smallest_element_algorithm.cpp:33
↓ 3 callersFunctionswap
(x, y int)
code/sorting/src/heap_sort/heap_sort.go:10
↓ 3 callersFunctionswap
UTILITY FUNCTIONS */
code/sorting/src/quick_sort/quick_sort_three_way.cpp:10
↓ 3 callersFunctionswap
code/dynamic_programming/src/array_median/array_median.c:3
↓ 3 callersMethodswap
(self, fpos, spos)
code/data_structures/src/minHeap/minHeap.py:26
↓ 3 callersFunctiontakeStep
code/artificial_intelligence/src/support_vector_machine/svm.c:130
↓ 3 callersMethodtoString
()
code/data_structures/src/stack/abstract_stack/cpp/array_stack.java:44
↓ 3 callersMethodtoString
code/data_structures/src/stack/abstract_stack/cpp/array_stack/array_stack.h:137
↓ 3 callersMethodtoString
()
code/dynamic_programming/src/box_stacking/box_stacking.java:114
↓ 3 callersFunctionto_bin
(decimal int)
code/mathematical_algorithms/src/integer_conversion/decimal_to_int.go:11
↓ 3 callersMethodunion
(self, u, v, set_map)
code/graph_algorithms/src/cycle_directed_graph/cycle_directed_graph.py:15
↓ 3 callersFunctionupdate
(RL, stateName, totalSteps)
code/artificial_intelligence/src/q_learning/q_learning.js:155
↓ 3 callersMethodupload
()
code/design_pattern/src/OOP_patterns/proxy/protection/proxy/userproxy.java:36
↓ 3 callersFunctionvSwap
Swaps values in vector with given indices
code/selection_algorithms/src/quickselect.cpp:14
↓ 3 callersMethodwait
* Increment the job's waiting time and recalculate it's average priority
code/operating_system/src/scheduling/multi_level_feedback_queue_scheduling/mlfq.ts:99
↓ 3 callersFunctionzeroToFive
(input int)
code/mathematical_algorithms/src/replace_0_with_5/replace_0_with_5.go:6
↓ 2 callersFunctionBinarySearch
code/languages/cpp/binary_search/binary_search_implementation.cpp:6
↓ 2 callersFunctionBuildMaxHeap
(slice []int)
code/sorting/src/heap_sort/heapsort.go:12
↓ 2 callersFunctionCREATE_NODE
code/data_structures/src/tree/heap/binomial_heap/binomial_heap.c:44
↓ 2 callersFunctionCh
(x, y, z)
code/cryptography/src/sha/sha_256/sha_256.py:197
↓ 2 callersFunctionComputeIntersection
code/computational_geometry/src/sutherland_hodgeman_clipping/sutherland_hodgeman_clipping.cpp:135
↓ 2 callersFunctionCorrecting
(string)
code/divide_conquer/src/karatsuba_multiplication/karatsuba_multiplication.py:16
↓ 2 callersFunctionCycleSort
(arr *[]int)
code/sorting/src/cycle_sort/cycle_sort.go:15
↓ 2 callersMethodData
code/data_structures/src/list/singly_linked_list/singly_linked_list_with_classes.cpp:22
↓ 2 callersMethodDelete
(key interface{})
code/data_structures/src/list/doubly_linked_list/doubly_linked_list.go:28
↓ 2 callersMethodDelete
(item Item)
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.go:115
↓ 2 callersMethodDisplay
(self)
code/data_structures/src/DoubleLinkedList/Doubly linked list.py:33
↓ 2 callersMethodEmpty
()
code/data_structures/src/stack/reverse_stack/reverse_stack.go:36
↓ 2 callersMethodEmpty
()
code/data_structures/src/queue/reverse_queue/reverse_queue.go:37
↓ 2 callersFunctionEncode
Encode returns the morse coded representation of the message.
code/string_algorithms/src/morse_code/morsecode.go:31
↓ 2 callersMethodExtractMin
Extract Minimum Element
code/data_structures/src/binary_heap/binary_heap.cpp:53
↓ 2 callersMethodFront
Returns the element at the front of the queue. Throws an exception if the queue is empty.
code/data_structures/src/queue/queue/queue.cs:86
↓ 2 callersMethodGetVolume
Volume of OT-sphere intersection, as a function of sphere radius.
code/computational_geometry/src/sphere_tetrahedron_intersection/sphere_tetrahedron_intersection.cpp:145
↓ 2 callersFunctionInsert
Insert new node into Binary Tree
code/data_structures/src/tree/binary_tree/binary_tree/maximum_height/maximum_height.cpp:45
↓ 2 callersMethodInsert
(key int, value interface{})
code/data_structures/src/hashs/hash_table/hash_table.go:23
↓ 2 callersMethodIsSameCharacterSet
()
code/cryptography/src/huffman_encoding/huffman.java:103
↓ 2 callersFunctionLG_StackEmpty
* @stack A pointer to a stack struct. * @return 1 if the stack is empty, 0 otherwise. */
code/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_c/lgraph_stack.c:54
↓ 2 callersFunctionLeftRightRotate
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.c:73
↓ 2 callersFunctionMG_get
* Returns M[i][j]; */
code/graph_algorithms/src/data_structures/adjacency_matrix_c/mgraph_struct.c:71
↓ 2 callersFunctionMaj
(x, y, z)
code/cryptography/src/sha/sha_256/sha_256.py:201
↓ 2 callersMethodMaxHeapify
(i int)
code/sorting/src/heap_sort/heapsort.go:20
↓ 2 callersFunctionModification
(matrix, p)
code/divide_conquer/src/strassen_matrix_multiplication/strassen.py:28
↓ 2 callersFunctionNew
New allocates and returns a new *TrieNode.
code/data_structures/src/tree/tree/trie/trie.go:12
↓ 2 callersFunctionNewGame
(width int, height int)
code/cellular_automaton/src/conways_game_of_life/life.go:18
↓ 2 callersFunctionOptimization
Uses triangle law to swap longer edges
code/artificial_intelligence/src/tsp/salesman.cpp:51
↓ 2 callersFunctionPart_1
(pt)
code/cryptography/src/simple_des/sdes.py:64
↓ 2 callersMethodPeek
Gets element at the top of the stack. Throws an exception if the stack is empty.
code/data_structures/src/stack/stack/stack.cs:47
↓ 2 callersFunctionPick
(N_val)
code/quantum_algorithms/shors_algorithm/P1_shor_primefactorization.py:384
↓ 2 callersFunctionPigeonholeSort
Pigeonhole Sort in Golang Part of Cosmos by OpenGenus Foundation PigeonholeSort sorts the given slice
code/sorting/src/pigeonhole_sort/pigeonhole_sort.go:11
↓ 2 callersMethodPop
()
code/data_structures/src/stack/reverse_stack/reverse_stack.go:25
↓ 2 callersFunctionPrec
A utility function to return precedence of a given operator Higher returned value means higher precedence
code/data_structures/src/stack/infix_to_postfix/infix_to_postfix.c:58
↓ 2 callersFunctionPrec
A utility function to return precedence of a given operator Higher returned value means higher precedence
code/data_structures/src/stack/infix_to_postfix/infix_to_postfix.cpp:58
↓ 2 callersMethodPrefixSum
(idx int)
code/data_structures/src/tree/multiway_tree/fenwick_tree/fenwick_tree.go:26
↓ 2 callersFunctionPrintArray
function to print array
code/sorting/src/counting_sort/Counting_sort.php:34
↓ 2 callersFunctionPrintStack
code/data_structures/src/stack/reverse_stack/reverse_stack_without_extra_space.cpp:47
↓ 2 callersFunctionPrintStack
code/data_structures/src/stack/sort_stack/sort_stack.cpp:20
↓ 2 callersFunctionProjLine
code/computational_geometry/src/sphere_tetrahedron_intersection/luvector.hpp:730
↓ 2 callersFunctionProjPlane
code/computational_geometry/src/sphere_tetrahedron_intersection/luvector.hpp:830
↓ 2 callersFunctionPut_Pixel
Plot a pixel In the window at point (x, y)
code/computational_geometry/src/bresenham_line/bresenham_line2.py:40
↓ 2 callersFunctionQuickSort
code/sorting/src/median_sort/median_sort.cpp:32
↓ 2 callersMethodRangeSum
(l int, r int)
code/data_structures/src/tree/multiway_tree/fenwick_tree/fenwick_tree.go:36
↓ 2 callersMethodRemove
(int value)
code/data_structures/src/list/circular_linked_list/circular_linked_list.java:33
↓ 2 callersFunctionRightLeftRotate
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.c:83
↓ 2 callersFunctionSGsom
Returns recurrence Calulation for a and b
code/game_theory/src/grundy_numbers_kayle/grundy_numbers_kayle.py:1
↓ 2 callersMethodSet
(i int, j int, b bool)
code/cellular_automaton/src/conways_game_of_life/life.go:36
↓ 2 callersMethodSetSays
code/design_pattern/src/OOP_patterns/singleton_pattern/singleton_pattern.cpp:54
↓ 2 callersFunctionSolidAngleCap
Returns the solid angle of sphere cap contended by a cone. Apex of the cone is center of the sphere.
code/computational_geometry/src/sphere_tetrahedron_intersection/sphere_tetrahedron_intersection.cpp:17
↓ 2 callersFunctionSpaceEfficientAlignment
getting the cost associated with alignment
code/dynamic_programming/src/edit_distance/edit_distance_hirschberg.cpp:157
↓ 2 callersMethodSubWord
(uint word, byte[,] sbox)
code/cryptography/src/aes_128/aes_csharp/helpers.cs:65
↓ 2 callersFunctionSumOfProperDivisors
formula comes from https://math.stackexchange.com/a/22723
code/mathematical_algorithms/src/amicable_numbers/amicable_numbers.go:44
↓ 2 callersMethodSwap
(int[] array, int index1, int index2)
code/sorting/src/circle_sort/circle_sort.java:57
← previousnext →1,001–1,100 of 8,543, ranked by callers