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
stairs
Gfg/C++/Staircase_search.cpp:5
↓ 1 callers
Function
stripClosest
A utility function to find the distance beween the closest points of strip of given size. All points in strip[] are sorted accordint to y coordinate.
Algorithms/Divide and Conquer/C++/Closest Pair of Points using Divide and Conquer algorithm.cpp:72
↓ 1 callers
Function
subsetSum
(A, n, sum)
Algorithms/Miscellaneous/Python/partition_problem.py:1
↓ 1 callers
Function
subsetSum
Gfg/C++/Subset Sum Prob.cpp:14
↓ 1 callers
Method
subsets
(int[] arr)
Data Structures/print_the_subset.java:12
↓ 1 callers
Method
sudokuSolver
(int[][] grid, int row, int col)
Algorithms/Backtracking/Java/SudokuBacktracking.java:36
↓ 1 callers
Function
sumOfLongRootToLeafPath
Gfg/C++/Sum_of_nodes_on_the_longest_path_from_root_to_leaf.cpp:53
↓ 1 callers
Function
sumOfPrimes
Hackerank/C++/Summation of primes.cpp:6
↓ 1 callers
Function
sum_replacement
SUM REPLACEMENT RECURSIVE FUNCTION */
Data Structures/Tree/sum_replacement.cpp:66
↓ 1 callers
Function
sumd
Algorithms/superdigit.c:40
↓ 1 callers
Function
superDigit
(n, k)
Hackerank/Python/Recursive digit sum.py:10
↓ 1 callers
Function
superd
Algorithms/superdigit.c:35
↓ 1 callers
Function
supermans_rank
Hackerank/C++/Spearman's Rank Correlation.cpp:32
↓ 1 callers
Function
swap
Algorithms/Miscellaneous/C++/call_by_reference.cpp:10
↓ 1 callers
Function
swap
Algorithms/Searching and Sorting/C++/Selection Sort.cpp:5
↓ 1 callers
Function
swap
Data Structures/LinkedList/C/Operations_on_linkedlist.c:344
↓ 1 callers
Function
swap
Data Structures/Array/C++/Minimum_swaps_required.cpp:10
↓ 1 callers
Function
swap
Gfg/C/move_negative_element_to_one_side.c:14
↓ 1 callers
Method
swapPairs
Leetcode/C++/SwapNodesInPairs.cpp:66
↓ 1 callers
Method
swapPairs
(ListNode head)
Leetcode/Java/Swap Nodes in Pairs.java:37
↓ 1 callers
Function
swap_val
Leetcode/C/First Missing Positive.c:3
↓ 1 callers
Function
takeInput
Taking input recursively.
Data Structures/Tree/C++/Minimum and maximum value in a Binary Tree.cpp:87
↓ 1 callers
Function
takeInputLevelWise
Data Structures/Tree/C++/countNodesgreaterthanX.cpp:17
↓ 1 callers
Function
takeInputLevelWise
Data Structures/Tree/C++/countNodes.cpp:17
↓ 1 callers
Function
takeinput
Data Structures/LinkedList/C++/KReverse.cpp:145
↓ 1 callers
Function
third_greatest
create a function to find third largest element...
Gfg/thirdlargestElement.cpp:14
↓ 1 callers
Function
timeInWords
Hackerank/C++/The Time in Words.cpp:24
↓ 1 callers
Method
timeInWords
(int h, int m)
Hackerank/Java/The time in words.java:12
↓ 1 callers
Method
topView
Hackerank/C++/Top-View.cpp:38
↓ 1 callers
Method
topView
Function to return a list of nodes visible from the top view from left to right in Binary Tree.
Gfg/C++/top_View_of_Binary_Tree.cpp:26
↓ 1 callers
Function
topoSort
Algorithms/Kahn’s Algorithm for Topological Sort.cpp:14
↓ 1 callers
Function
topoSort
Algorithms/Graph/C++/Kahn’s Algorithm for Topological Sort.cpp:14
↓ 1 callers
Method
topoSort
Function to return list containing vertices in Topological order.
Gfg/C++/topological_sort.cpp:31
↓ 1 callers
Function
topo_process
Keeping track of processed and visited nodes
Algorithms/Searching and Sorting/C++/Topological_sort.cpp:15
↓ 1 callers
Function
topological_sort
Algorithms/Graph/C++/TopologicalSort.cpp:25
↓ 1 callers
Function
topological_sort
Sort function
Algorithms/Searching and Sorting/C++/Topological_sort.cpp:28
↓ 1 callers
Function
totalHammingDistance
Leetcode/C++/Total Hamming Distance.cpp:30
↓ 1 callers
Function
total_number_nodes
Data Structures/Tree/C++/Binary_Search_Tree.cpp:310
↓ 1 callers
Method
tour
(int petrol[], int distance[])
Gfg/Java/CircularTour.java:48
↓ 1 callers
Function
towerOfHanoi
Algorithms/Dynamic Problems/C++/Tower_Of_Hanoi (2).cpp:9
↓ 1 callers
Method
towerOfHanoi
(int n, char from_rod, char to_rod, char aux_rod)
Gfg/towerOf.java:8
↓ 1 callers
Function
tower_of_hanoi
(disks, source, auxiliary, target)
Algorithms/Miscellaneous/Python/TowerOfHanoi.py:2
↓ 1 callers
Function
towers
Algorithms/Miscellaneous/C/towerOFHanoi.c:16
↓ 1 callers
Function
town_with_most_packages
Hackerank/C/Post Transition.c:85
↓ 1 callers
Method
tr
(Object... o)
Hackerank/Java/Strong-password.java:163
↓ 1 callers
Method
trans
(int fac[][], int r)
Gfg/Main.java:179
↓ 1 callers
Method
transitiveClosure
Gfg/C++/Transitive_Closure_of_Graph.cpp:67
↓ 1 callers
Method
trappingWater
Problem Link : https://practice.geeksforgeeks.org/problems/trapping-rain-water-1587115621/1
Gfg/C++/Trapping Rain Water.cpp:10
↓ 1 callers
Function
trapping_rainwater
(arr,n)
Gfg/Python/trapping_rainwater.py:1
↓ 1 callers
Method
twh
(int n,char src,char dest,char temp)
Algorithms/Dynamic Problems/TowerOfHanoi.java:21
↓ 1 callers
Method
twh
(int n,char src,char dest,char temp)
Gfg/Java/TowerOfHanoi.java:21
↓ 1 callers
Function
twoStrings
(s1, s2)
Hackerank/Python/Two Strings.py:18
↓ 1 callers
Method
uniquePaths
(int m, int n)
Leetcode/Java/Unique Paths.java:25
↓ 1 callers
Method
unite
Gfg/Minimum spanning tree.cpp:31
↓ 1 callers
Function
up
Hackerank/C++/Largest product in a grid.cpp:7
↓ 1 callers
Function
up_left
Hackerank/C++/Largest product in a grid.cpp:25
↓ 1 callers
Function
up_right
Hackerank/C++/Largest product in a grid.cpp:34
↓ 1 callers
Method
update
Update a given Node
Data Structures/LinkedList/C++/SinglyLinkedList.cpp:293
↓ 1 callers
Method
updateMatrix
Leetcode/C++/01_Matrix.cpp:15
↓ 1 callers
Function
updatevalue
The function to update a value in input array and segment tree. It uses updateValueUtil() to update the value in segment tree
Data Structures/Tree/C++/segment_tree_implementation.cpp:144
↓ 1 callers
Function
updatevalueUtil
-----------------------------------------------------------------------------------------------------------------updatevalue------------------ A recur
Data Structures/Tree/C++/segment_tree_implementation.cpp:126
↓ 1 callers
Function
validMountainArray
Leetcode/C++/ValidMountainArray.cpp:19
↓ 1 callers
Function
valid_part
function to check whether the string passed is valid ip or not */
Gfg/C++/Validate_IP.cpp:38
↓ 1 callers
Method
validmove
(int newx, int newy, int board[][])
Gfg/Java/TheKnightsTour.java:69
↓ 1 callers
Method
valueEqualToIndex
Gfg/C++/Value equal to index value.cpp:11
↓ 1 callers
Function
visa
Codechef/C++/codechef_visa.cpp:3
↓ 1 callers
Function
wavesort
Algorithms/Searching and Sorting/C++/Wave sort.cpp:11
↓ 1 callers
Function
year_to_day
Function to convert year into Day//
Data Structures/Year_to_min_sec_hour_day.cpp:41
↓ 1 callers
Function
year_to_hour
Function to convert year into Hour//
Data Structures/Year_to_min_sec_hour_day.cpp:47
↓ 1 callers
Function
year_to_minutes
Function to convert year into Minutes//
Data Structures/Year_to_min_sec_hour_day.cpp:53
↓ 1 callers
Function
year_to_month
Function to convert year into month//
Data Structures/Year_to_min_sec_hour_day.cpp:35
↓ 1 callers
Function
year_to_seconds
Function to convert year into Seconds//
Data Structures/Year_to_min_sec_hour_day.cpp:59
↓ 1 callers
Function
zizag_traversal
function to print the zigzag traversal
Data Structures/Tree/C++/Zig-Zag_Binary_Tree_Traversal.cpp:20
Method
ArrayIns
(int max)
Algorithms/Searching and Sorting/Java/ArrayInsertsort.java:9
Method
BTNode
Constructor that allocates a new node with the given data and NULL left and right pointers. */
Data Structures/Tree/C++/Minimum and maximum value in a Binary Tree.cpp:44
Method
Box
Hackerank/C++/Box It.cpp:14
Method
Cell
(int x, int y)
Algorithms/Miscellaneous/Java/WarnsdorffAlgorithm.java:148
Method
ChainHashing
Data Structures/Array/C++/ChainHashing.cpp:15
Method
DFSUtil
Gfg/C++/Transitive_Closure_of_Graph.cpp:49
Method
DSU
Gfg/Minimum spanning tree.cpp:14
Method
DisjSet
Gfg/C++/Disjoint_set.cpp:17
Method
DoublyLinkedList
Hackerank/C++/Reverse a Doubly Linked List.cpp:24
Method
DoublyLinkedListNode
Hackerank/C++/Reverse a Doubly Linked List.cpp:12
Method
Edge
(int src, int nbr, int wt)
Leetcode/Java/DijsktraAlgo.java:13
Method
Edge
()
Gfg/Java/Bellman_Ford.java:10
Method
Graph
Algorithms/Graph/C++/Krushal's Algo.cpp:22
Method
Graph
Algorithms/Graph/C++/DFSGraphValidation.cpp:31
Method
Graph
(int v, int e)
Algorithms/Greedy Algorithms/Java/Kruskal’s Minimum Spanning Tree Algorithm.java:33
Method
Graph
Gfg/C++/Transitive_Closure_of_Graph.cpp:35
Method
Graph
(int v)
Gfg/Java/implement dfs.java:18
Method
Graph
(int v, int e)
Gfg/Java/Bellman_Ford.java:19
Method
HashEntry
Data Structures/Array/C++/Hashing_with_arrays.cpp:12
Method
HashFunc
Data Structures/Array/C++/Hashing_with_arrays.cpp:35
Method
HashMap
Data Structures/Array/C++/Hashing_with_arrays.cpp:25
Method
HashTable
Algorithms/Hashing Techniques/Chaining.cpp:26
Method
ItemValue
(int wt, int val, int ind)
Algorithms/Greedy Algorithms/Java/Fractional Knapsack Problem.java:58
Method
LNode
Data Structures/LinkedList/C++/Sorted_LinkedList_to_BST.cpp:10
Method
LinkedList
Default Construtor should be called only
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:73
Method
LinkedList
Default Construtor should be called only
Data Structures/LinkedList/C++/Doubly-Linked-List.cpp:72
Method
List
Data Structures/LinkedList/C++/Double_linked_list.cpp:15
← previous
next →
1,401–1,500 of 2,762, ranked by callers