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
findLargestSubtreeSum
(root)
Gfg/Python/max_subtree_sum.py:54
↓ 1 callers
Function
findLargestSubtreeSum
Function to find largest subtree sum.
Gfg/C++/Largest Subtree Sum In a Tree.cpp:45
↓ 1 callers
Function
findLargestSubtreeSumUtil
(root, ans)
Gfg/Python/max_subtree_sum.py:13
↓ 1 callers
Function
findLargestSubtreeSumUtil
Helper function to find largest subtree sum recursively.
Gfg/C++/Largest Subtree Sum In a Tree.cpp:23
↓ 1 callers
Method
findLength
(int[] A, int[] B)
Leetcode/Java/Maximum Length of Repeated Subarray.java:6
↓ 1 callers
Method
findMajority
(int arr[], int n)
Codeforces/Java/MajorityElement.java:5
↓ 1 callers
Function
findMax
Algorithms/Searching and Sorting/C++/Count Sort.cpp:6
↓ 1 callers
Method
findMaximum
Gfg/C++/Bitonic_Point.cpp:19
↓ 1 callers
Function
findMaximumXOR
Data Structures/Max_XOR_of_Two_Array.cpp:61
↓ 1 callers
Method
findMedian
(int arr[], int n, int brr[], int m)
Gfg/MedianOfTwoSortedArrayJava.java:40
↓ 1 callers
Method
findMedianSortedArrays
(int[] input1, int[] input2)
Leetcode/Median of Two Sorted Arrays.java:23
↓ 1 callers
Function
findMiddle
Function for finding middle of the stack
Gfg/C++/middle element of stack.cpp:104
↓ 1 callers
Function
findMin
Algorithms/Greedy Algorithms/C++/Greedy_algorithm_to_find_minimum_number_of_coins.cpp:11
↓ 1 callers
Function
findMin
Leetcode/C++/FindMinimunInRotatedSearchArray_Leetcode.cpp:5
↓ 1 callers
Method
findMin
(int start, int a[])
codejam/Java/ReverSort.java:19
↓ 1 callers
Function
findMinCoins
Data Structures/Indiancoinchange.c:4
↓ 1 callers
Function
findMinDiff
Gfg/C++/Chocolate Distribution Problem.cpp:22
↓ 1 callers
Method
findMinimum
()
Data Structures/Stack/Java/Min_Element_In_Stack.java:27
↓ 1 callers
Function
findMissing
(a, n)
Leetcode/Python/Smallest_positive_missingno.py:4
↓ 1 callers
Method
findMissingPositive
(int array[], int len)
Leetcode/Java/First_missing_positive_num.java:18
↓ 1 callers
Function
findNext
Given a number as a char array number[], this function finds the next greater number. It modifies the same array to store the result
Leetcode/C++/next_permutations.cpp:17
↓ 1 callers
Function
findNode
Gfg/C++/Delete_without_head_pointer.cpp:16
↓ 1 callers
Method
findPages
(int[]arr,int n,int m)
Gfg/Java/AllocateMinimumNumberOfPages.java:69
↓ 1 callers
Function
findPair
Naive method to find a pair in an array with a given sum
Data Structures/Array/C/find-pair-with-given-sum-array.c:4
↓ 1 callers
Function
findPosition
(n)
Algorithms/Miscellaneous/Python/Setbitposition.py:10
↓ 1 callers
Function
findRange
(arr, n)
Gfg/Python/range_of_array.py:18
↓ 1 callers
Function
findRank
Codechef/C++/BugCrush 2 Question 6 (BUGC206).cpp:20
↓ 1 callers
Function
findSkyline
Leetcode/C++/SkyLine.cpp:69
↓ 1 callers
Function
findSmallerInRight
Codechef/C++/BugCrush 2 Question 6 (BUGC206).cpp:9
↓ 1 callers
Function
findTheLongestSubstring
Leetcode/C++/Find the longest substring containing vowels at even positions.cpp:16
↓ 1 callers
Function
find_Small_Large
(array)
Data Structures/Array/Python/searching largest and smallest in array.py:1
↓ 1 callers
Function
find_peak
function which return index of peak element */
Gfg/C++/peak_element.cpp:13
↓ 1 callers
Function
find_two
Codechef/C++/Hail_XOR.cpp:8
↓ 1 callers
Function
find_union
function to find the union of the lengths.
Algorithms/Miscellaneous/C++/Klee's Algorithm.cpp:22
↓ 1 callers
Method
findkThLargestElement
(int[] arr, int n, int k)
Miscellaneous problems/Java/kth_largest_number/kThLargestElement.java:18
↓ 1 callers
Function
first
(a, low, high, x, n)
Gfg/Python/Count occurrences of an element in a sorted array.py:34
↓ 1 callers
Function
firstIndex
(arr, x)
Gfg/Firstindex.py:1
↓ 1 callers
Function
firstIndex
Function to find first index.
Gfg/C++/first_index_of_array.cpp:5
↓ 1 callers
Function
firstMissingPositive
Leetcode/C++/First Missing Positive.cpp:5
↓ 1 callers
Function
first_Missing_Positive_num
Leetcode/C/First Missing Positive.c:10
↓ 1 callers
Function
first_index
Gfg/C/firstindex.c:11
↓ 1 callers
Method
first_index
(int[] a,int i,int s,int y)
Gfg/First_index.java:5
↓ 1 callers
Function
first_occurrence
Gfg/C++/count_occurrences_of_element.cpp:9
↓ 1 callers
Method
flatlandSpaceStations
(int n, int[] c)
Hackerank/Java/Flatland Space stations.java:12
↓ 1 callers
Function
flatten
Function which returns the root of the flattened linked list. */
Gfg/C++/Flatten_a_linked_list.cpp:103
↓ 1 callers
Method
floodFill
Leetcode/C++/flood_Fill.cpp:35
↓ 1 callers
Function
floydWarshall
(graph)
Algorithms/Dynamic Problems/Python/FloydWarshall.py:4
↓ 1 callers
Function
floydWarshall
Algorithms/Dynamic Problems/C++/FloydWarshall.cpp:10
↓ 1 callers
Method
floydWarshall
(int graph[][])
Algorithms/Dynamic Problems/Java/FloydWarshall.java:13
↓ 1 callers
Function
fnx
Codechef/C++/mod-equality.cpp:104
↓ 1 callers
Method
fractionalKnapsack
Algorithms/Greedy Algorithms/C++/Fractional_Knapsack_in_C++.cpp:62
↓ 1 callers
Function
freeList
Function to freeList
Data Structures/LinkedList/C++/Reorder_list.cpp:36
↓ 1 callers
Function
free_doubly_linked_list
Hackerank/C++/Reverse a Doubly Linked List.cpp:55
↓ 1 callers
Function
free_singly_linked_list
Hackerank/C/Delete-Duplicate-Value-Node-From-Sorted-LinkedList.c:71
↓ 1 callers
Function
front
Function to get front of queue
Gfg/C++/implementation Of Queue.cpp:69
↓ 1 callers
Method
func
(int[] arr, int n, int d, int h)
Codechef/Java/RedAlert.java:21
↓ 1 callers
Function
funnyString
Please either make the string static or allocate on the heap. For example, static char str[] = "hello world"; return str; OR char* str = "hello worl
Hackerank/C/Funny String.c:24
↓ 1 callers
Function
gcd
Codechef/C++/BugCrush 2 Question 3 (BUGC203).cpp:3
↓ 1 callers
Function
geek_num
let us call the function to find geek number in this loop
Gfg/C++/Geek_onacci.cpp:11
↓ 1 callers
Method
getDegree
(int a[], int x, int y)
Algorithms/Miscellaneous/Java/WarnsdorffAlgorithm.java:25
↓ 1 callers
Function
getMax
Function to get the largest element from an array
Algorithms/Searching and Sorting/C++/Radix_Sort.cpp:7
↓ 1 callers
Function
getMax
(arr, n)
Gfg/Python/range_of_array.py:10
↓ 1 callers
Function
getMaxGold
Returns maximum amount of gold that can be collected when journey started from first column and moves allowed are right, right-up and right-down
Algorithms/Dynamic Problems/C++/Gold Mine Problem.cpp:10
↓ 1 callers
Method
getMaxValue
(int[] wt, int[] val, int capacity)
Algorithms/Greedy Algorithms/Java/Fractional Knapsack Problem.java:8
↓ 1 callers
Method
getMaximumSum
(int []arr)
Gfg/Java/MaximizeSum.java:33
↓ 1 callers
Method
getMazepaths
(int sr, int sc, int dr, int dc)
Gfg/Java/Get_Maxinmum_Maze_Paths.java:26
↓ 1 callers
Function
getMin
(arr, n)
Gfg/Python/range_of_array.py:3
↓ 1 callers
Function
getMinDiff
Gfg/C++/minimize_the_heights.cpp:13
↓ 1 callers
Method
getNthFromLast
(Node head, int n)
Gfg/Java/Find_Nth_Node_From_End_of_LL.java:123
↓ 1 callers
Function
getNthUglyNo
Function to get the nth ugly number
Algorithms/Dynamic Problems/C++/Ugly Number.cpp:30
↓ 1 callers
Function
getRow
Leetcode/C++/pascal_triangle.cpp:9
↓ 1 callers
Method
getRow
Leetcode/C++/Pascal's_Triangle_II.cpp:35
↓ 1 callers
Method
getSize
Data Structures/QueueUsingLL.cpp:65
↓ 1 callers
Method
getSkyline
(int[][] buildings)
Leetcode/Java/SkyLine.java:6
↓ 1 callers
Function
getSquareSum
(n)
Hackerank/Python/LuckyNumber.py:26
↓ 1 callers
Method
getSum
(TreeNode grandParent, TreeNode parent)
Leetcode/Java/SumOfNodesWithEvenValuedGrandparent.java:24
↓ 1 callers
Function
getSumUtil
Codeforces/C++/Kuriyama_Mirai's_Stones.pp.cpp:18
↓ 1 callers
Method
get_array
Operating System/CPU Scheduler/Round Robin.cpp:107
↓ 1 callers
Function
get_connected_components
this get_connected_components will count the number of connected components
Algorithms/Graph/C/connected_components.c:31
↓ 1 callers
Method
get_firstelement
Data Structures/Tree/C++/Binary_tree_traversal.cpp:48
↓ 1 callers
Method
getmiddle
(Node head)
Algorithms/LinkedList/singlyll.java:117
↓ 1 callers
Method
getmiddle
(Node head)
Algorithms/LinkedList/linkedlist.java:120
↓ 1 callers
Function
getsumUTil
-------------------------------------------------------------------------------------------------getsum------------------ A recursive function to get
Data Structures/Tree/C++/segment_tree_implementation.cpp:94
↓ 1 callers
Method
give_root
Data Structures/Tree/Tree_Traversal.cpp:40
↓ 1 callers
Function
gradingStudents
Hackerank/C++/Grading Students.cpp:47
↓ 1 callers
Function
graphColoring
Gfg/C++/M-Coloring Problem.cpp:32
↓ 1 callers
Function
groupAnagrams
Function to group Anagrams
Leetcode/C++/Group_Anagrams.cpp:11
↓ 1 callers
Method
hammingDistance
(int x, int y)
Leetcode/Java/Hamming.java:4
↓ 1 callers
Method
handShake
Gfg/C++/Handshakes.cpp:36
↓ 1 callers
Function
heapSort
main function to do heap sort
Gfg/C++/implementation of Heap Sort.cpp:32
↓ 1 callers
Function
height
this function calculate the height of the Binary Tree
Data Structures/Tree/C++/Binary_Tree_Symmetric_or_not.cpp:27
↓ 1 callers
Function
height
Gfg/C++/normal_BST_to_Balanced_BST.cpp:95
↓ 1 callers
Method
height
(TreeNode root)
Leetcode/Java/BinaryTreeFromPreorderAndInorder.java:69
↓ 1 callers
Method
height
Data Structures/Tree/Tree_Traversal.cpp:207
↓ 1 callers
Function
height_bst
Data Structures/Tree/C++/Binary_Search_Tree.cpp:296
↓ 1 callers
Function
help
helper function
Gfg/C++/Duplicate subtree in Binary Tree.cpp:29
↓ 1 callers
Function
helper
Gfg/C++/normal_BST_to_Balanced_BST.cpp:42
↓ 1 callers
Function
helper
Gfg/C++/k-th_smallest_element_in_BST.cpp:26
↓ 1 callers
Function
helper
Gfg/C++/Sum_of_nodes_on_the_longest_path_from_root_to_leaf.cpp:30
↓ 1 callers
Method
helper
(char[] s, int left, int right)
Gfg/Java/reverse-string.java:2
← previous
next →
701–800 of 2,762, ranked by callers