Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice
/ functions
Functions
2,762 in github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice
⨍
Functions
2,762
◇
Types & classes
612
↓ 1 callers
Function
maxPer
Algorithms/Miscellaneous/C++/perfect_no.cpp:44
↓ 1 callers
Function
maxProfit
Algorithms/Dynamic Problems/C++/Buy and Sell stock atmost k transactions.cpp:8
↓ 1 callers
Function
maxProfit
Algorithms/Dynamic Problems/C++/Rod Cutting.cpp:5
↓ 1 callers
Method
maxProfit
Leetcode/C++/Best-time-to-buy-and-sell-stocks-III.cpp:75
↓ 1 callers
Function
maxSubArraySum
(a, size)
Gfg/Python/Maxsubarray.py:2
↓ 1 callers
Function
maxSubArraySum
Gfg/C++/find_largest_sum_contiguous_subarray.cpp:5
↓ 1 callers
Method
maxSubArraySum
(int nums[])
Data Structures/Largestsum.java:4
↓ 1 callers
Method
maxSubArraySum
(int nums[])
Gfg/Java/Largestsum.java:4
↓ 1 callers
Function
maxValue
Returns maximum value in a given Binary Tree
Data Structures/Tree/C++/Minimum and maximum value in a Binary Tree.cpp:70
↓ 1 callers
Method
maxWater
(int building[], int n)
Gfg/Java/TrappingWater.java:17
↓ 1 callers
Function
max_gold
(gold,m,n)
Gfg/gold_mine.py:9
↓ 1 callers
Function
max_of_size_k
Gfg/C++/max_of_size_k_window_using _deque.cpp:11
↓ 1 callers
Method
max_xor
(int arr[], int n)
Gfg/maximum xor.java:6
↓ 1 callers
Function
maxdollars
(n)
Codechef/Python/gold_coin.py:3
↓ 1 callers
Method
maximalRectangle
(char[][] matrix)
Leetcode/maximalrectangle.java:3
↓ 1 callers
Method
maximalRectangle
Leetcode/C++/Maximal Rectangle.cpp:51
↓ 1 callers
Function
maximizeSum
function to maximize the sum of selected numbers
Gfg/C++/Maximise sum in array.cpp:24
↓ 1 callers
Function
maximumNum
Codechef/C++/BugCrush 2 Question 7 (BUGC207).cpp:3
↓ 1 callers
Function
maximumToys
(prices, k)
Hackerank/Python/Mark and Toys.py:8
↓ 1 callers
Method
maxindex
(int[] dist, int n)
Algorithms/Greedy Algorithms/Java/K Centers Problem.java:6
↓ 1 callers
Function
mazePath
m is the given matrix and n is the order of matrix MAX is the upper limit of N ie 5
Gfg/C++/Rat in a Maze Problem.cpp:40
↓ 1 callers
Function
mcoloring
Algorithms/Graph/C/graph_col.c:23
↓ 1 callers
Function
merge
Merges two subarrays of arr[]. First subarray is arr[l..m] Second subarray is arr[m+1..r]
Algorithms/Searching and Sorting/C++/Merge Sort.cpp:8
↓ 1 callers
Function
merge
Algorithms/Searching and Sorting/C++/sorting.cpp:26
↓ 1 callers
Function
merge
Data Structures/gap_method.cpp:15
↓ 1 callers
Function
merge
(arr1, arr2, n, m)
Gfg/Python/merge_two_sorted_array_without_extra_space.py:9
↓ 1 callers
Function
merge
Gfg/C++/median_of_two_sorted_arrays.cpp:4
↓ 1 callers
Method
merge
(Node node)
Algorithms/LinkedList/linkedlist.java:135
↓ 1 callers
Method
mergeKArrays
Function to merge k sorted arrays.
Gfg/C++/Merge k Sorted Arrays.cpp:33
↓ 1 callers
Method
mergeKLists
Function to merge K sorted linked list.
Gfg/C++/merge_k_sorted_linked_lists.cpp:57
↓ 1 callers
Function
mergeKs
(list)
Data Structures/Merge k sorted linkedlist.py:26
↓ 1 callers
Function
mergeLinkedList
FUNCTION TO MERGE TWO LISTS
Data Structures/LinkedList/C++/merge_ll.cpp:53
↓ 1 callers
Function
mergeLists
(headA, headB)
Gfg/Python/merge_two_sorted_linkedlists.py:38
↓ 1 callers
Method
mergesort
(Node a,Node b)
Algorithms/LinkedList/singlyll.java:145
↓ 1 callers
Method
mergesort
(Node a,Node b)
Algorithms/LinkedList/linkedlist.java:148
↓ 1 callers
Method
mi
(int d)
Gfg/Main.java:209
↓ 1 callers
Method
middleOfThree
(int a, int b, int c)
Gfg/Java/Middle of three using minimum comparison.java:17
↓ 1 callers
Function
min
Gfg/C++/minimumjumptoreachend.cpp:6
↓ 1 callers
Function
minCostBreaker
Gfg/C++/CHOCOLA–Chocolate.cpp:66
↓ 1 callers
Function
minDistance
A utility function to find the vertex with minimum distance value, from the set of vertices not yet included in shortest path tree
Algorithms/Greedy Algorithms/C++/Dijkstra’s shortest path algorithm.cpp:12
↓ 1 callers
Function
minDistance
A utility function to find the vertex with minimum distance value, from the set of vertices not yet included in shortest path tree
Gfg/C++/dijkstras algo.cpp:12
↓ 1 callers
Function
minJumps
Returns minimum number of jumps to reach arr[n-1] from arr[0]
Gfg/C++/minimumjumptoreachend.cpp:10
↓ 1 callers
Method
minOperation
Gfg/zero.cpp:18
↓ 1 callers
Method
minStepToReachTarget
Function to find out minimum steps Knight needs to reach target position.
Gfg/C++/steps_by_knight.cpp:16
↓ 1 callers
Function
minSwaps
Function to find minimum swaps to group all 1's together
Gfg/C++/minimum-swaps-to-group-all-1s-together.cpp:9
↓ 1 callers
Method
minSwaps
Function to find the minimum number of swaps required to sort the array.
Gfg/C++/minimum_swap_sort.cpp:19
↓ 1 callers
Function
minValue
Returns minimum value in a given Binary Tree
Data Structures/Tree/C++/Minimum and maximum value in a Binary Tree.cpp:53
↓ 1 callers
Function
minWindow
(s: str, t: str)
Leetcode/Python/minimum window substring.py:23
↓ 1 callers
Function
min_Dist
Program has predefined number of vertices as 5 and Infinity as 99 */ Method to find the vertex with minimum distance */
Algorithms/Greedy Algorithms/C/dijsktra_algo.c:12
↓ 1 callers
Function
miniMaxSum
Hackerank/C++/Mini-max Sum.cpp:37
↓ 1 callers
Function
miniMaxSum
Complete the miniMaxSum function below.
Hackerank/C/Mini-Max Sum.c:15
↓ 1 callers
Function
minimumBribes
Hackerank/C++/New Year Chaos.cpp:15
↓ 1 callers
Function
minimumNumber
Hackerank/C++/Strong Password.cpp:45
↓ 1 callers
Method
minimumStep
Gfg/C++/Shortest Path From 1 to n .cpp:11
↓ 1 callers
Function
minimumSwaps
(arr)
Hackerank/Python/Minimum swaps 2.py:10
↓ 1 callers
Method
minimumWindow
(String str, String test)
Leetcode/Java/minimumWindow.java:5
↓ 1 callers
Function
minmax
Data Structures/Array/C/rangeminmax.c:18
↓ 1 callers
Method
missingno
(int n, int[] arr)
Miscellaneous problems/Java/numbers.java:14
↓ 1 callers
Function
move
Algorithms/Miscellaneous/C++/tower_of_hanoi.cpp:11
↓ 1 callers
Function
multiply
(num1, num2)
Leetcode/Python/multiplyStrings.py:2
↓ 1 callers
Function
multiplyTwoLists
To multiply contents of two linked lists
Gfg/C++/Multiply two linked lists.cpp:97
↓ 1 callers
Function
myAtoi
(string)
Leetcode/Python/StringtoInteger.py:1
↓ 1 callers
Function
myAtoi
Leetcode/C++/String into Integer.cpp:5
↓ 1 callers
Function
myPow
( x, n)
Leetcode/Pow(x,n).py:1
↓ 1 callers
Function
nCr
(n,r)
Hackerank/Python/Binomial Distribution 1.py:8
↓ 1 callers
Function
nCrModp
Gfg/C++/nCr.cpp:3
↓ 1 callers
Function
nQueen
Algorithms/Backtracking/C++/n-queen.cpp:30
↓ 1 callers
Function
nQueen
Gfg/C++/printing-solutions-n-queen-problem.cpp:92
↓ 1 callers
Method
nQueen
(int[][] board,int row)
Algorithms/Backtracking/Java/NQueenBacktracking.java:45
↓ 1 callers
Function
ncr
Leetcode/C/Pascal Triangle.c:12
↓ 1 callers
Method
neighbour
(int x, int y, int xx, int yy)
Algorithms/Miscellaneous/Java/WarnsdorffAlgorithm.java:88
↓ 1 callers
Function
newNode
Function to create a new node with given data.
Gfg/C++/Multiply two linked lists.cpp:45
↓ 1 callers
Function
newNode
Helper function that allocates a new node with the given data and NULL left and right pointers. */
Gfg/C++/Convert sorted Array to BST.cpp:73
↓ 1 callers
Method
nextLargerElement
Gfg/C++/Next Greater Element.cpp:31
↓ 1 callers
Method
nextLargerElement
(long[] arr, int n)
Gfg/Java/Next_greater_Element.java:24
↓ 1 callers
Method
nextMove
(int a[], Cell cell)
Algorithms/Miscellaneous/Java/WarnsdorffAlgorithm.java:36
↓ 1 callers
Method
nextPermutation
(int[] array)
Leetcode/Java/next_permutation.java:7
↓ 1 callers
Function
nextgreaterelement
Data Structures/Array/C++/nextgreatorelement.cpp:3
↓ 1 callers
Function
nextvalue
Algorithms/Graph/C/graph_col.c:3
↓ 1 callers
Function
no_of_divisiors
Hackerank/C++/Highly divisible triangular number.cpp:7
↓ 1 callers
Method
nodeExists
Data Structures/LinkedList/C++/Merge Point of Two Linked List.cpp:36
↓ 1 callers
Function
normal_dist
Hackerank/C++/The Central Limit Theorem.cpp:8
↓ 1 callers
Function
normal_dist
Hackerank/C++/The Central Limit Theorem 2.cpp:8
↓ 1 callers
Method
notGreater
(self,i)
Data Structures/Stack/Python/Infix_postfix.py:35
↓ 1 callers
Method
numIslands
Function to find the number of islands.
Gfg/C++/Find the number of islands.cpp:42
↓ 1 callers
Method
numTriplets
Leetcode/C++/SquareIsEqualToProduct.cpp:28
↓ 1 callers
Function
numpresent
Data Structures/npresentornot.c:18
↓ 1 callers
Function
occurence
Gfg/C/count-occurence-of-an-element-in-array.c:9
↓ 1 callers
Method
orangesRotting
Function to find minimum time required to rot all oranges.
Gfg/C++/Rotten Oranges.cpp:19
↓ 1 callers
Function
outputarr
Algorithms/Searching and Sorting/C++/sorting.cpp:74
↓ 1 callers
Function
pairSum
Function to find pair whose sum equal to given value x.
Gfg/C++/PairsWithGivenSum.cpp:13
↓ 1 callers
Function
pairWiseSwap
Function to pairwise swap elements of a linked list */
Data Structures/LinkedList/C/PairwiseSwap.c:24
↓ 1 callers
Method
pairs
(int k, int[] arr)
Hackerank/Java/Pairs.java:12
↓ 1 callers
Function
palindrome
Hackerank/C/Largest palindrome product.c:5
↓ 1 callers
Method
palindromicPartition
Gfg/C++/Palindromic partitioning.cpp:33
↓ 1 callers
Function
pangrams
(s)
Hackerank/Python/Pangrams.py:10
↓ 1 callers
Function
partition
(A)
Algorithms/Miscellaneous/Python/partition_problem.py:19
↓ 1 callers
Function
partition
This function takes last element as pivot, places the pivot element at its correct position in sorted array, and places all smaller (smaller than pivo
Algorithms/Searching and Sorting/C++/Quick Sort.cpp:18
↓ 1 callers
Method
path
Gfg/C++/BFS.cpp:22
↓ 1 callers
Method
path
(int board[][], int row, int col, int move, int posx[], int posy[])
Gfg/Java/TheKnightsTour.java:29
← previous
next →
1,001–1,100 of 2,762, ranked by callers