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
SmallestPermutation
(a,b)
Algorithms/Dynamic Problems/Python/LexicographicallySmallestPermutation.py:6
↓ 1 callers
Function
Solution
(arr)
Leetcode/Python/median_of_2_sorted_arrays.py:2
↓ 1 callers
Function
Solve
Algorithms/MCM_Memoisation.cpp:8
↓ 1 callers
Function
Sort
Data Structures/LinkedList/C/Operations_on_linkedlist.c:320
↓ 1 callers
Function
Sort_zero_one_two
Linear time partition function to sort an array containing 0, 1, and 2
Gfg/C/Sort_in_linear_time.c:12
↓ 1 callers
Function
Sparse_search
Algorithms/Searching and Sorting/C++/Sparse_search.cpp:8
↓ 1 callers
Function
SubArray
SubArray Fucntion
Data Structures/Array/C++/SubArrayWithSum.cpp:19
↓ 1 callers
Function
TargetSum
Leetcode/C++/Target_Sum.cpp:32
↓ 1 callers
Function
Ternary_search
Function to search data in a given array
Algorithms/Searching and Sorting/C++/Ternary_search.cpp:7
↓ 1 callers
Function
Tribonacci_Number
(n)
Algorithms/Miscellaneous/Python/N-th Tribonacci Number.py:1
↓ 1 callers
Function
Triplets
Gfg/C++/TripletswithZeroSum.cpp:15
↓ 1 callers
Method
Union
(subset subsets[], int x, int y)
Algorithms/Greedy Algorithms/Java/Kruskal’s Minimum Spanning Tree Algorithm.java:57
↓ 1 callers
Function
Valid_Mount
(arr:list[int])
Leetcode/Python/Valid_Mountain_Problem.py:1
↓ 1 callers
Function
_printParenthesis
(str, pos, n, open, close)
Gfg/Python/Generate_Balanced_parenthesis.py:36
↓ 1 callers
Function
aVeryBigSum
Hackerank/C++/A Very Big Sum.cpp:38
↓ 1 callers
Method
add1
(Node head)
Gfg/Java/Add-1-to-a-number-represented-as-linked-list.java:73
↓ 1 callers
Method
addBinary
Leetcode/C++/AddBinary.cpp:31
↓ 1 callers
Method
addEdge
Algorithms/Graph/C++/DFSGraphValidation.cpp:38
↓ 1 callers
Function
addFraction
Adding two fractions
Gfg/C++/Add two fractions.cpp:40
↓ 1 callers
Method
addOne
(Node head)
Gfg/Java/Add-1-to-a-number-represented-as-linked-list.java:64
↓ 1 callers
Method
addTwoLists
(Node first, Node second)
Gfg/add two number by linked list.java:21
↓ 1 callers
Method
addTwoLists
function to add two numbers represented by Linked Lists
Gfg/C++/Add two numbers represented by linked lists.cpp:78
↓ 1 callers
Function
add_edge
Data Structures/Graph/C++/cycle_in_undirectedgraph_using_dfs.cpp:46
↓ 1 callers
Function
add_edge
Data Structures/Graph/C++/Bipartite_using_DFS.cpp:44
↓ 1 callers
Method
addedge
Gfg/Minimum spanning tree.cpp:61
↓ 1 callers
Function
alive
Algorithms/Dynamic Problems/C++/Alive.cpp:12
↓ 1 callers
Function
allIndexes
(input, x, start)
Gfg/All_indices.py:1
↓ 1 callers
Function
allIndices
(input, x)
Gfg/All_indices.py:26
↓ 1 callers
Function
allPalPartUtil
(allPart: list, currPart: list, start: int, n: int, string: str)
Algorithms/Miscellaneous/Python/Palindromic_Partition.py:20
↓ 1 callers
Function
allPalPartUtil
Recursive function to find all palindromic partitions of str[start..n-1] allPart --> A vector of vector of strings. Every vector inside it stores a pa
Algorithms/Miscellaneous/C++/Palindromic_Partitions.cpp:22
↓ 1 callers
Function
allPalPartitions
(string: str)
Algorithms/Miscellaneous/Python/Palindromic_Partition.py:55
↓ 1 callers
Function
allPalPartitions
Function to print all possible palindromic partitions of str. It mainly creates vectors and calls allPalPartUtil()
Algorithms/Miscellaneous/C++/Palindromic_Partitions.cpp:53
↓ 1 callers
Function
allocate_minimum_number_of_pages
Gfg/C++/Allocate_minimum_number_of_pages.cpp:32
↓ 1 callers
Function
alternatingCharacters
(s)
Hackerank/Python/Alternating Characters.py:9
↓ 1 callers
Function
alternatingCharacters
Hackerank/C++/Alternating Characters.cpp:45
↓ 1 callers
Function
anagram
Complete the anagram function below.
Hackerank/C/Anagram.c:14
↓ 1 callers
Function
anagram
(str1,str2)
Gfg/Python/anagram.py:3
↓ 1 callers
Function
angryProfessor
Hackerank/C++/Angry Professor.cpp:46
↓ 1 callers
Function
append
Data Structures/LinkedList/C++/reverse_LL.cpp:16
↓ 1 callers
Method
areIsomorphic
Function to check if two strings are isomorphic.
Gfg/C++/isomorphic_strings.cpp:20
↓ 1 callers
Function
area
function to find maximum area and return it to main function
Data Structures/Stack/C/histogram.c:81
↓ 1 callers
Function
arr_display
Data Structures/Stack/C++/Stack_operation.cpp:57
↓ 1 callers
Function
arr_implementation
Data Structures/Stack/C++/Stack_operation.cpp:74
↓ 1 callers
Function
arr_pop
Data Structures/Stack/C++/Stack_operation.cpp:38
↓ 1 callers
Function
arr_push
Data Structures/Stack/C++/Stack_operation.cpp:21
↓ 1 callers
Function
arr_top_element
Data Structures/Stack/C++/Stack_operation.cpp:52
↓ 1 callers
Function
arrange
Gfg/C++/Sort 0s 1s 2s.cpp:6
↓ 1 callers
Function
arrayManipulation
Hackerank/C++/Array-Manipulation.cpp:37
↓ 1 callers
Function
arrayManipulation
Complete the arrayManipulation function below.
Data Structures/Array/C++/Array Manipulation.cpp:5
↓ 1 callers
Function
arraySort
Algorithms/Searching and Sorting/C++/Insertion Sort using Call By Reference method.cpp:5
↓ 1 callers
Function
arraySort
Algorithms/Searching and Sorting/C/Insertion Sort using Call By Reference method.c:3
↓ 1 callers
Method
arrayStringsAreEqual
(String[] word1, String[] word2)
Leetcode/Check If Two String Arrays are Equivalent.java:6
↓ 1 callers
Function
avg
Algorithms/Searching and Sorting/C++/BinarySearch_Comparisons_Count.cpp:26
↓ 1 callers
Method
balancefactor
(Node node)
Data Structures/Tree/Java/AVL_Tree.java:103
↓ 1 callers
Function
beadSort
Algorithms/Searching and Sorting/C++/Bead_Sort.cpp:13
↓ 1 callers
Method
beautifulArray
(int n)
Leetcode/Java/BeautifulArray.java:21
↓ 1 callers
Function
beautifulDays
Hackerank/C++/Beautiful Days at the Movies.cpp:54
↓ 1 callers
Function
bellman_ford
Bellman ford function to check negative cycle * v = no. of verties * e = no. of edges * edges = vector of {x, {y, w}} such that x->y is an edge
Algorithms/JohnsonAlgorithm.cpp:37
↓ 1 callers
Function
bfs
Algorithms/Graphs/Prisoners_escape.cpp:57
↓ 1 callers
Function
binarySearch
A binary search based function to find the position where item should be inserted in a[low..high]
Algorithms/Searching and Sorting/C++/Binary Insertion Sort.cpp:9
↓ 1 callers
Function
binarySearch
A recursive binary search function. It returns location of x in given array arr[l..r] is present, otherwise -1
Algorithms/Searching and Sorting/C++/binary_recursive_search.cpp:8
↓ 1 callers
Function
binarySearch
searching element in array a by binary search algoritm
Algorithms/Searching and Sorting/C++/Binary_Insertion_Sort.cpp:12
↓ 1 callers
Function
binarySearch
(a,n)
Gfg/Python/Find_n_in_array.py:14
↓ 1 callers
Function
binarySearch
Gfg/C++/Find_n_in_array.cpp:5
↓ 1 callers
Function
binary_search
Function to search data using binary search
Algorithms/Searching and Sorting/C/Binary_search.c:13
↓ 1 callers
Method
binomialCoeff
(int n, int k)
Gfg/Java/PascalsTriangle.java:6
↓ 1 callers
Function
birthdayCakeCandles
(candles)
Hackerank/Python/Birthday Cake Candles.py:13
↓ 1 callers
Function
birthdayCakeCandles
Hackerank/C++/Birthday Cake Candles.cpp:19
↓ 1 callers
Function
birthdayCakeCandles
Hackerank/C++/hackerrank_birthdaycake.cpp:16
↓ 1 callers
Method
bits
(int n)
Leetcode/Java/Number of 1 Bits.java:7
↓ 1 callers
Function
bonAppetit
(bill, k, b)
Hackerank/Python/Bill Division.py:18
↓ 1 callers
Function
bonAppetit
Hackerank/C++/Bill Division.cpp:43
↓ 1 callers
Function
bottomView
Function to print the bottom view of the Tree
Gfg/C++/Bottom_view_of_a_Tree.cpp:17
↓ 1 callers
Method
bracketMatch
(char ch, char top)
Gfg/Java/Parenthesis_Checker.java:76
↓ 1 callers
Function
breakingRecords
(scores)
Hackerank/Python/Breaking the records.py:16
↓ 1 callers
Function
breakingRecords
Hackerank/C++/Breaking The Records.cpp:50
↓ 1 callers
Function
bruteForce
A Brute Force method to return the smallest distance between two points in P[] of size n
Algorithms/Divide and Conquer/C++/Closest Pair of Points using Divide and Conquer algorithm.cpp:45
↓ 1 callers
Function
bst
Algorithms/Searching and Sorting/searching_bst.cpp:29
↓ 1 callers
Function
bubbleSort
(arr)
Algorithms/Searching and Sorting/Python/Bubble Sort in Python.py:4
↓ 1 callers
Function
bubbleSort
Algorithms/Searching and Sorting/C++/BubbleSort_Comparisons_Count.cpp:11
↓ 1 callers
Function
bubbleSort
Algorithms/Searching and Sorting/C/Bubble Sort.c:3
↓ 1 callers
Function
bucketSort
(x)
Algorithms/Searching and Sorting/Python/Bucket_Sort.py:12
↓ 1 callers
Method
bucket_sort
(float[] array, int n)
Algorithms/Bucket_Sort_JAVA.java:19
↓ 1 callers
Function
buildBalancedTree
Gfg/C++/normal_BST_to_Balanced_BST.cpp:62
↓ 1 callers
Function
buildHeap
Function to build a heap of arr[0..n-1] and alue of k.
Algorithms/Dynamic Problems/k_arrayheap.cpp:78
↓ 1 callers
Function
buildTree
Function to Build Tree
Leetcode/C++/Path Sum III.cpp:60
↓ 1 callers
Function
buildTree
Build Tree function implementation - Recursively builds tree (preorder build)
Data Structures/Tree/C++/Binary Tree.cpp:31
↓ 1 callers
Function
buildTree
Function to Build Tree
Gfg/C++/top_View_of_Binary_Tree.cpp:81
↓ 1 callers
Function
buildTree
{ Driver Code Starts
Gfg/C++/Duplicate subtree in Binary Tree.cpp:67
↓ 1 callers
Function
buildTree
Gfg/C++/normal_BST_to_Balanced_BST.cpp:107
↓ 1 callers
Function
buildTree
{ Driver Code Starts Function to Build Tree
Gfg/C++/largest_BST.cpp:71
↓ 1 callers
Function
buildTree
{ Driver Code Starts. Function to Build Tree
Gfg/C++/k-th_smallest_element_in_BST.cpp:60
↓ 1 callers
Function
buildTree
Function to Build Tree
Gfg/C++/Diagonal Traversal of Binary Tree.cpp:69
↓ 1 callers
Function
buildTree
Gfg/C++/Sum_of_nodes_on_the_longest_path_from_root_to_leaf.cpp:73
↓ 1 callers
Method
buildTree
(int[] preorder, int[] inorder)
Leetcode/Java/BinaryTreeFromPreorderAndInorder.java:34
↓ 1 callers
Method
buildTree
(String str)
Gfg/Java/Diameter of Binary Tree.java:21
↓ 1 callers
Function
caesarCipher
(s, k)
Hackerank/Python/Caesar Cipher.py:9
↓ 1 callers
Method
calKeyMatrix
(String key, int len)
Gfg/Main.java:74
↓ 1 callers
Function
calcWater
Leetcode/C++/Rainwater_trapping.cpp:26
↓ 1 callers
Method
calculate
Operating System/CPU Scheduler/Round Robin.cpp:146
← previous
next →
401–500 of 2,762, ranked by callers