MCPcopy Create free account

hub / github.com/VAR-solutions/Algorithms / functions

Functions3,327 in github.com/VAR-solutions/Algorithms

↓ 2 callersFunctionjump_search
( arr , x , n )
Searching/Jump Search/python/jump_search.py:13
↓ 2 callersFunctionlazy
Tree/segment tree/cpp/Segment Tree Lazy Propagation.cpp:5
↓ 2 callersFunctionleftrightZigZag
data structures/trie/c/AVL.c:80
↓ 2 callersMethodlistTestNamesOnly
Searching/binary search/c/test/catch.hpp:4057
↓ 2 callersMethodmain
(String[] args)
data structures/stack/java/stack.java:46
↓ 2 callersFunctionmakeLeaf
makeLeaf generate a single leaf without children.
Greedy Algorithms/Huffman/go/huffman.go:71
↓ 2 callersFunctionmakeTestCase
Searching/binary search/c/test/catch.hpp:8290
↓ 2 callersFunctionmatchTest
Searching/binary search/c/test/catch.hpp:7331
↓ 2 callersFunctionmatrixMultiply
data structures/Matrix/cpp/matrix_multiply.cpp:6
↓ 2 callersMethodmatriz_ad
Graphs/Floyd/Cplusplus/floydWarshall.cpp:62
↓ 2 callersFunctionmax
Dynamic Programming/Egg Dropping Puzzle/cpp/eggDroppingPuzzle.cpp:6
↓ 2 callersFunctionmaxValueNode
Tree/AVLTree/AVL.cpp:185
↓ 2 callersFunctionmerge
(x1: &[T], x2: &[T], y: &mut [T])
Sorting/Merge Sort/Rust/merge-sort.rs:1
↓ 2 callersFunctionmerge_sort
(x: &mut [T])
Sorting/Merge Sort/Rust/merge-sort.rs:25
↓ 2 callersFunctionmin
Dynamic Programming/Binomial Coefficient/C/binCoeff.c:24
↓ 2 callersMethodmin
(int x, int y)
Searching/Fibonacci Search/Java/Fibonaccisearch.java:8
↓ 2 callersFunctionminValueNode
Tree/AVLTree/AVL.cpp:90
↓ 2 callersFunctionmod
Mathematics/modular exp/cpp/modular_exp.cpp:6
↓ 2 callersFunctionnameForNumber
Other Algorithms/num_to_words.cpp:15
↓ 2 callersFunctionnanoseconds
Graphs/Minimum Spanning Tree/C++/nanoseconds.hpp:6
↓ 2 callersFunctionnewNode
Function to create a new node
heaps/priority queue/priority_queue.cpp:20
↓ 2 callersMethodnewNode
(int d, int p)
heaps/priority queue/priority_queue.java:23
↓ 2 callersFunctionnewnode
data structures/trie/c/BST.c:20
↓ 2 callersMethodnumCols
data structures/Matrix/cpp/Matrix.h:25
↓ 2 callersMethodnumRows
data structures/Matrix/cpp/Matrix.h:21
↓ 2 callersMethodokToFail
Searching/binary search/c/test/catch.hpp:8381
↓ 2 callersFunctionpeek
Return the value at head
heaps/priority queue/priority_queue.cpp:31
↓ 2 callersMethodpeek
data structures/stack/Kotlin/StackUsingArray.kt:29
↓ 2 callersFunctionpercolate
data structures/heap/C/heap.c:46
↓ 2 callersFunctionpop
data structures/queue/c/queue_using_stack.c:57
↓ 2 callersFunctionpop
Removes the element with the highest priority form the list
heaps/priority queue/priority_queue.cpp:38
↓ 2 callersMethodpop
(self)
data structures/Graph/GraphDFS(Letters).py:17
↓ 2 callersMethodpop
(self)
data structures/stack/python/stack.py:8
↓ 2 callersMethodpop
()
data structures/stack/java/SpecialStack.java:40
↓ 2 callersMethodpop
(root: &mut Option<Box<Node<T>>>, len: &mut usize)
heaps/BinomialHeap/Rust/binomial_heap.rs:147
↓ 2 callersMethodpop_front
data structures/array/Array_List.cpp:134
↓ 2 callersFunctionpreorder
data structures/trie/c/AVL.c:281
↓ 2 callersMethodprepend
(...elements)
data structures/linked list/javascript/linkedList.js:43
↓ 2 callersFunctionprint
Sorting/Merge Sort/C++/mergeSort_linked_list.cpp:13
↓ 2 callersMethodprint
data structures/Matrix/cpp/Array.h:37
↓ 2 callersFunctionprintArray
data structures/shell.cpp:25
↓ 2 callersFunctionprintBuckets
Print buckets
Sorting/Bucket Sort/C/bucket_sort.c:138
↓ 2 callersFunctionprintJuggler
(n)
Mathematics/juggler sequence/python/juggler_seq.py:8
↓ 2 callersMethodprintList
(self)
data structures/linked list/python/linkedlist.py:22
↓ 2 callersFunctionprint_array
($array)
Sorting/Bubble Sort/PHP/bubble-sort.php:16
↓ 2 callersFunctionpush
data structures/queue/c/queue_using_stack.c:44
↓ 2 callersMethodpush
(self,data)
data structures/Graph/GraphDFS(Letters).py:15
↓ 2 callersMethodpush
data structures/stack/Kotlin/StackUsingArray.kt:6
↓ 2 callersMethodpush
(int new_data)
data structures/linked list/java/LinkedList.java:16
↓ 2 callersMethodpush
(node: &mut Option<Box<Node<T>>>, data: T)
heaps/BinomialHeap/Rust/binomial_heap.rs:29
↓ 2 callersFunctionq0
Tree/segment tree/cpp/Segment Tree Lazy Propagation.cpp:17
↓ 2 callersMethodquery
(int[] tree, int index, int si, int ei, int qsi, int qei)
Tree/segment tree/Java/RangeMinQuery.java:41
↓ 2 callersFunctionradix_sort
Sorting/Radix Sort/C/radix_sort.c:42
↓ 2 callersFunctionradixsort
Sort arr[] of size n using Radix Sort.
Sorting/Radix Sort/C++/radix_sort.cpp:42
↓ 2 callersFunctionrawMemoryToString
Searching/binary search/c/test/catch.hpp:1688
↓ 2 callersMethodregisterReporter
IMutableRegistryHub
Searching/binary search/c/test/catch.hpp:7620
↓ 2 callersMethodregisterTest
Searching/binary search/c/test/catch.hpp:7626
↓ 2 callersFunctionregisterTestCase
Searching/binary search/c/test/catch.hpp:7438
↓ 2 callersMethodrelease
Searching/binary search/c/test/catch.hpp:622
↓ 2 callersMethodremoveFromFront
()
LinkedList/Java/LinkedList.java:74
↓ 2 callersMethodrender
Renders the current board state
Recursive Algorithms/minimax/tic-tac-toe/tictactoe.py:15
↓ 2 callersFunctionreportFatal
Report the error condition
Searching/binary search/c/test/catch.hpp:6398
↓ 2 callersFunctionreverseNumber
(n int)
Other Algorithms/Reverse Number/rev.go:21
↓ 2 callersFunctionreverseString
* Shortcut Method
Other Algorithms/Reverse-A-String-FCC/JavaScript/reverseString.js:27
↓ 2 callersFunctionreverseString
(str)
Other Algorithms/Reverse Sentence/JavaScript/reverse.js:1
↓ 2 callersFunctionrightleftZigZag
data structures/trie/c/AVL.c:104
↓ 2 callersMethodrun
Searching/binary search/c/test/catch.hpp:7179
↓ 2 callersFunctionsearch
Returns true if key presents in trie, else false
data structures/trie/cpp/trie.cpp:53
↓ 2 callersFunctionsearch
search for the number N in the table. Return -1 if the number is not found.
Hashing/Linear Probing/linear_probing.cpp:31
↓ 2 callersMethodsearch
data structures/stack/cpp/Stack.cpp:84
↓ 2 callersMethodsearch
(self, tree, target)
Tree/Binary Search Tree/bstree.py:115
↓ 2 callersFunctionselection_sort
(a, n)
Sorting/Selection Sort/Ruby/selSort.rb:1
↓ 2 callersMethodsetCurrentTracker
Searching/binary search/c/test/catch.hpp:6132
↓ 2 callersMethodsetParent
(PatriciaSetNode parent)
Tree/Patricia/PatriciaSetNode.java:134
↓ 2 callersMethodsetRight
(int data, int parent)
Tree/Binary Tree/BinaryTree.java:28
↓ 2 callersFunctionsetTags
Searching/binary search/c/test/catch.hpp:8335
↓ 2 callersMethodset_next
(self,new_node)
data structures/linked list/python/Stack_with_Singly_Linked_List.py:12
↓ 2 callersFunctionshellSort
(arr)
Sorting/ShellSort/Javascript/shellsort.js:1
↓ 2 callersFunctionshortest_path
Graphs/Diameter_of_tree/Diameter_of_tree.cpp:15
↓ 2 callersFunctionshowPiles
A C function to output the current game state.
Combinatorial Game Theory/Game of NIM/gameNIM.c:31
↓ 2 callersMethodshuffle
To generate permuatation of the array
Sorting/Bogosort/C Sharp/Bogosort.cs:29
↓ 2 callersFunctionsift
data structures/heap/C/heap.c:20
↓ 2 callersFunctionsize
Mathematics/Karatsuba/C/karatsuba.c:4
↓ 2 callersMethodskipTest
Searching/binary search/c/test/catch.hpp:8640
↓ 2 callersMethodsort
Sorting/Cocktail/C++/Cocktail.cpp:9
↓ 2 callersMethodstack_push
(Stack<Integer> stack)
data structures/stack/java/stack.java:7
↓ 2 callersMethodstack_search
(Stack<Integer> stack, int element)
data structures/stack/java/stack.java:35
↓ 2 callersMethodsumRange
:type i: int :type j: int :rtype: int
Tree/segment tree/python/segment_tree.py:58
↓ 2 callersMethodswap
(int[] a, int i, int j)
Sorting/Bogosort/Java/Bogosort.java:24
↓ 2 callersMethodswap
Searching/binary search/c/test/catch.hpp:8401
↓ 2 callersFunctionswap_elements
(arr, wall, i)
Sorting/quickSort/python/quick_sort.py:30
↓ 2 callersMethodswitch
Switches current player
Recursive Algorithms/minimax/tic-tac-toe/tictactoe.py:55
↓ 2 callersMethodtakesArg
Searching/binary search/c/test/catch.hpp:4545
↓ 2 callersMethodtestCaseStarting
Searching/binary search/c/test/catch.hpp:8593
↓ 2 callersMethodtestRunStarting
Searching/binary search/c/test/catch.hpp:8587
↓ 2 callersMethodtoArray
()
data structures/linked list/javascript/linkedList.js:131
↓ 2 callersMethodtotalEdgeMetric
Graphs/Minimum Spanning Tree/C++/data-structures/LinkedGraph.cpp:54
↓ 2 callersFunctiontranslateActiveException
Searching/binary search/c/test/catch.hpp:7663
↓ 2 callersFunctiontroca
Backtracking/Permutation/permuta.cpp:3
↓ 2 callersFunctionupdate
Tree/Heavy Light Decomposition/hld.cpp:43
← previousnext →501–600 of 3,327, ranked by callers