Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VAR-solutions/Algorithms
/ functions
Functions
3,327 in github.com/VAR-solutions/Algorithms
⨍
Functions
3,327
◇
Types & classes
712
↓ 1 callers
Method
size
data structures/queue/Kotlin/QueueUsingArray.kt:7
↓ 1 callers
Method
size
()
Tree/Binary Search Tree/bst.java:132
↓ 1 callers
Method
size
(self, tree)
Tree/Binary Search Tree/bstree.py:194
↓ 1 callers
Function
smallestCommons
(arr)
Mathematics/smallest common multiple/js/smallest-c-mul.js:5
↓ 1 callers
Function
solve
Dynamic Programming/knapsack/cpp/Extended Knapsack Problem.cpp:11
↓ 1 callers
Method
solve
(int i, int j, int[][] cells)
Backtracking/Sudoku solution/Java/Sudoku.java:12
↓ 1 callers
Function
solveKT
This function solves the Knight Tour problem using Backtracking. This function mainly uses solveKTUtil() to solve the problem. It returns fal
Backtracking/Knight tour problem/c/knight_tour_problem.c:40
↓ 1 callers
Function
solveKTUtil
A recursive utility function to solve Knight Tour problem */
Backtracking/Knight tour problem/c/knight_tour_problem.c:73
↓ 1 callers
Function
solveMaze
This function solves the Maze problem using Backtracking. It mainly uses solveMazeUtil() to solve the problem. It returns false if no path i
Backtracking/Rat in a Maze/C/rat_in_a_maze.c:44
↓ 1 callers
Function
solveMazeUtil
A recursive utility function to solve Maze problem */
Backtracking/Rat in a Maze/C/rat_in_a_maze.c:63
↓ 1 callers
Function
solveNQueens
Backtracking/N-Queens.c:44
↓ 1 callers
Method
solveNQueens
(int A)
Backtracking/Nqueens.java:31
↓ 1 callers
Method
sort
(int[] data)
Sorting/Selection Sort/Java/selection_sort.java:12
↓ 1 callers
Method
sort
(int[] data)
Sorting/Insertion Sort/Java/insertion_sort.java:12
↓ 1 callers
Method
sort
(int[] data)
Sorting/Bubble Sort/Java/BubbleSortDynamic.java:24
↓ 1 callers
Method
sort
(int[] data)
Sorting/Bubble Sort/Java/BubbleSortDinamis.java:24
↓ 1 callers
Method
sort
(E[] n)
Sorting/Patience Sorting/Java/patience_sorting.java:4
↓ 1 callers
Method
sort
(int arr[], int l, int r)
Sorting/Merge Sort/Java/merge_sort.java:66
↓ 1 callers
Function
sortTests
Searching/binary search/c/test/catch.hpp:7311
↓ 1 callers
Function
sorted?
(ary)
Sorting/Bogosort/Ruby/bogosort.rb:6
↓ 1 callers
Method
stack_peek
(Stack<Integer> stack)
data structures/stack/java/stack.java:28
↓ 1 callers
Function
stack_pop
Graphs/Kosaraju ALgorithm/Kosaraju_ALgorithm.cpp:42
↓ 1 callers
Method
stack_pop
(Stack<Integer> stack)
data structures/stack/java/stack.java:16
↓ 1 callers
Function
stack_push
Graphs/Kosaraju ALgorithm/Kosaraju_ALgorithm.cpp:32
↓ 1 callers
Method
start
(self, current_index, current_value)
Dynamic Programming/coin change/python/coin_change.py:9
↓ 1 callers
Method
startCycle
Searching/binary search/c/test/catch.hpp:6118
↓ 1 callers
Function
stck_del_arr
data structures/stack/cpp/menu-driven-stack-and-queue.cpp:54
↓ 1 callers
Function
stck_del_list
data structures/stack/cpp/menu-driven-stack-and-queue.cpp:220
↓ 1 callers
Function
stck_ins_arr
data structures/stack/cpp/menu-driven-stack-and-queue.cpp:33
↓ 1 callers
Function
stck_ins_list
data structures/stack/cpp/menu-driven-stack-and-queue.cpp:196
↓ 1 callers
Function
stck_print
data structures/stack/cpp/menu-driven-stack-and-queue.cpp:69
↓ 1 callers
Function
stck_print_list
data structures/stack/cpp/menu-driven-stack-and-queue.cpp:238
↓ 1 callers
Function
stripClosest
(strip,d)
Divide and Conquer/closest_points.py:27
↓ 1 callers
Function
strrev
Dynamic Programming/common sub sequence/cpp/LCS.cpp:7
↓ 1 callers
Function
subsetXOR
Bit Manipulation/xor of subsets/cpp/XOR_of_subsets_equal_to_k.cpp:8
↓ 1 callers
Method
succeeded
Result was a success
Searching/binary search/c/test/catch.hpp:8183
↓ 1 callers
Function
sumOfDigits
Recursive Algorithms/SumOfDigits/cpp/SumOfDigits.cpp:5
↓ 1 callers
Function
swapNibbles
Bit Manipulation/swap/c/Swap_two_nibbles_in_a_byte.c:3
↓ 1 callers
Function
ternary_search
Searching/ternarySearch/cpp/ternarySearch.cpp:10
↓ 1 callers
Method
test
()
Mathematics/prime factors/java/PrimeFactorTest.java:11
↓ 1 callers
Method
testNumbers
()
Other Algorithms/CountWordsTest.java:8
↓ 1 callers
Method
testWords
()
Other Algorithms/CountWordsTest.java:5
↓ 1 callers
Function
test_double_matrix
data structures/Matrix/cpp/main.cpp:29
↓ 1 callers
Function
test_double_matrix_exceptions
data structures/Matrix/cpp/main.cpp:54
↓ 1 callers
Function
test_int_matrix
data structures/Matrix/cpp/main.cpp:21
↓ 1 callers
Function
test_int_matrix_exceptions
data structures/Matrix/cpp/main.cpp:73
↓ 1 callers
Method
throws
Searching/binary search/c/test/catch.hpp:8378
↓ 1 callers
Function
timSort
Sorting/Timsort/C/timsort.c:66
↓ 1 callers
Function
timsort
(the_array)
Sorting/Timsort/Python/TimSort.py:50
↓ 1 callers
Function
toLowerInPlace
Searching/binary search/c/test/catch.hpp:8726
↓ 1 callers
Method
to_pcord
Mathematics/cartesian_to_polar.cpp:15
↓ 1 callers
Method
topologicalSort
Graphs/topologicalSort/topologicalSort.cpp:47
↓ 1 callers
Function
topview
Tree/TopView_binary_tree.cpp:20
↓ 1 callers
Method
total
()
Graphs/kruskal/Java/KruskalAlgo.java:134
↓ 1 callers
Function
towerOfHanoi
Backtracking/Tower of Hanoi/tower_of_hanoi.cpp:3
↓ 1 callers
Method
towerOfHanoi
(int n, char from_rod, char to_rod, char aux_rod)
Recursive Algorithms/Tower of Hanoi/Java/TOH.java:12
↓ 1 callers
Method
translate
Searching/binary search/c/test/catch.hpp:2752
↓ 1 callers
Method
translateActiveException
Searching/binary search/c/test/catch.hpp:7531
↓ 1 callers
Method
tryAsMulti
Searching/binary search/c/test/catch.hpp:5835
↓ 1 callers
Method
tryOpen
Searching/binary search/c/test/catch.hpp:6306
↓ 1 callers
Function
union1
Greedy Algorithms/Kruskal.c:64
↓ 1 callers
Method
unionSet
Graphs/kruskal/cpp/Kruskal.cpp:36
↓ 1 callers
Function
update
(node, start, end, pos, value int)
Tree/segment tree/golang/segmentTree.go:27
↓ 1 callers
Function
update
Tree/segment tree/c/segment_tree.c:9
↓ 1 callers
Function
update
Dynamic Programming/Longest Increasing Subsequence/cpp/longest_increasing_subsequence_bit.cpp:8
↓ 1 callers
Method
update
:type i: int :type val: int :rtype: void
Tree/segment tree/python/segment_tree.py:37
↓ 1 callers
Method
update
(int index, int value)
Tree/segment tree/Java/SegmentTree.java:82
↓ 1 callers
Method
update
(int[] tree, int index, int si, int ei, int i, int val)
Tree/segment tree/Java/RangeMinQuery.java:57
↓ 1 callers
Method
updatebit
(n , i ,v)
Tree/Fenwick/fenwick.py:27
↓ 1 callers
Method
useActiveException
Searching/binary search/c/test/catch.hpp:9227
↓ 1 callers
Function
vCover
A memoization based function that returns size of the minimum vertex cover.
Dynamic Programming/Minimum Vertex Cover/Solution.cpp:15
↓ 1 callers
Function
view
LinkedList/C/Doubly_LinkedList/Doubly_Linkedlist.c:38
↓ 1 callers
Method
warnAboutMissingAssertions
Searching/binary search/c/test/catch.hpp:4076
↓ 1 callers
Function
weighted_job
Main function which computes optimal profit
Dynamic Programming/WeightedJobScheduling/cpp/weighted_job_scheduling.cpp:34
↓ 1 callers
Method
withName
Searching/binary search/c/test/catch.hpp:8395
↓ 1 callers
Method
writeStylesheetRef
Searching/binary search/c/test/catch.hpp:10170
↓ 1 callers
Function
writeToDebugConsole
Searching/binary search/c/test/catch.hpp:8957
Method
crossProduct
Mathematics/ConvexHull/cpp/JarvisMarchAlgorithm.cpp:37
Method
distance
Mathematics/ConvexHull/cpp/JarvisMarchAlgorithm.cpp:22
Method
findConvexHull
Mathematics/ConvexHull/cpp/JarvisMarchAlgorithm.cpp:45
Function
AllOf
Searching/binary search/c/test/catch.hpp:1171
Function
AnyOf
Searching/binary search/c/test/catch.hpp:1179
Method
Approx
Searching/binary search/c/test/catch.hpp:2800
Method
Approx>
Searching/binary search/c/test/catch.hpp:2969
Method
Arg
Searching/binary search/c/test/catch.hpp:4751
Method
ArgBuilder
Searching/binary search/c/test/catch.hpp:4811
Method
Array
data structures/Matrix/cpp/Array.h:16
Function
ArrayAddition
(arr)
Dynamic Programming/sub set sum/javascript/subsetsum.js:1
Method
ArrayList
()
data structures/array/ArrayList.java:6
Method
ArrayList
data structures/array/Array_List.cpp:43
Method
ArrayList
Graphs/Minimum Spanning Tree/C++/data-structures/ArrayList.cpp:9
Method
AssertionInfo
Searching/binary search/c/test/catch.hpp:8159
Method
AssertionPrinter
Searching/binary search/c/test/catch.hpp:10759
Method
AssertionPrinter
Searching/binary search/c/test/catch.hpp:11165
Method
AssertionResult
Searching/binary search/c/test/catch.hpp:1001
Method
AssertionResult
Searching/binary search/c/test/catch.hpp:8173
Method
AssertionResultData
Searching/binary search/c/test/catch.hpp:958
Method
AssertionStats
Searching/binary search/c/test/catch.hpp:5668
Method
AutoReg
Searching/binary search/c/test/catch.hpp:748
Method
AutoReg
Searching/binary search/c/test/catch.hpp:7461
← previous
next →
1,601–1,700 of 3,327, ranked by callers