MCPcopy Create free account

hub / github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice / functions

Functions2,762 in github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice

↓ 1 callersMethodcalculateCost
()
codejam/Java/ReverSort.java:54
↓ 1 callersFunctioncalculateSpan
Fills array S[] with span values
Algorithms/Miscellaneous/C/stockspanprob.c:4
↓ 1 callersMethodcalculateSpan
Function to calculate the span of stock’s price for all n days.
Gfg/C++/stock_span_problem.cpp:7
↓ 1 callersFunctioncamelcase
Hackerank/C++/Camel Case.cpp:44
↓ 1 callersFunctioncamelcase
Complete the camelcase function below.
Hackerank/C/CamelCase.c:14
↓ 1 callersMethodcamelcase
(String s)
Hackerank/Java/Camel Case.java:23
↓ 1 callersFunctioncatAndMouse
Complete the catAndMouse function below.
Hackerank/C++/Cats and a Mouse.cpp:29
↓ 1 callersMethodcatalan
(int n)
Algorithms/Dynamic Problems/Java/nth Catalan Number.java:13
↓ 1 callersMethodcatchThieves
This function find the number of thieve can be catch by police Takes 3 argument arr[],n(size),k(range) returns int(count) The Logic had be
Algorithms/Greedy Algorithms/Police and Thieve.cpp:37
↓ 1 callersFunctioncbst
Algorithms/Searching and Sorting/searching_bst.cpp:46
↓ 1 callersFunctionceleb
Function to find celebrity
Gfg/C++/celebrity_problem.cpp:17
↓ 1 callersFunctioncheck
(my_string)
Hackerank/Python/Balanced_brackets.py:1
↓ 1 callersFunctioncheck
{ Driver Code Starts
Gfg/C++/topological_sort.cpp:55
↓ 1 callersMethodcheck
(String key, int len)
Gfg/Main.java:237
↓ 1 callersFunctioncheck2
Hackerank/C++/Box It.cpp:84
↓ 1 callersMethodcheckIfPangram
(String sentence)
Leetcode/check-if-the-sentence-is-pangram.java:10
↓ 1 callersFunctioncheckPermutation
Algorithms/Graph/C++/DFSGraphValidation.cpp:69
↓ 1 callersFunctioncheck_collinear
We can calculate the area formed by the three points, and if the area is zero then they lie on a same line. */
Data Structures/Collinearity_of_three_points.cpp:19
↓ 1 callersFunctioncircle_sort
Algorithms/Searching and Sorting/C++/circle_sort.cpp:45
↓ 1 callersMethodclimbStairs_ite
Leetcode/C++/ClimbStairs.cpp:39
↓ 1 callersMethodclimbStairs_rec
Leetcode/C++/ClimbStairs.cpp:56
↓ 1 callersFunctionclosest
The main function that finds the smallest distance This method mainly uses closestUtil()
Algorithms/Divide and Conquer/C++/Closest Pair of Points using Divide and Conquer algorithm.cpp:129
↓ 1 callersFunctionclosestUtil
A recursive function to find the smallest distance. The array P contains all points sorted according to x coordinate
Algorithms/Divide and Conquer/C++/Closest Pair of Points using Divide and Conquer algorithm.cpp:92
↓ 1 callersMethodclusters
(String s,int h,int a[])
Codeforces/Java/Sleep_Cycle.java:4
↓ 1 callersMethodcofact
(int num[][], int f)
Gfg/Main.java:150
↓ 1 callersMethodcollinear
(int x1, int y1, int x2, int y2, int x3, int y3)
Gfg/Java/collinearity0fthreepoints.java:9
↓ 1 callersFunctioncolorGraph
(graph)
Algorithms/Graph/Python/GraphColouringProblem.py:11
↓ 1 callersFunctioncomb_sort
Comb sort
Algorithms/Searching and Sorting/C++/comb_sort.cpp:12
↓ 1 callersMethodcombinationSum
Leetcode/Combination Sum2.cpp:3
↓ 1 callersMethodcombinationSum
Leetcode/C++/Combination Sum.cpp:3
↓ 1 callersMethodcombinationSum
Leetcode/C++/Combination_Sum.cpp:22
↓ 1 callersFunctioncomp
Finding the maximum XOR for each element
Data Structures/Max_XOR_of_Two_Array.cpp:36
↓ 1 callersFunctioncompare
Gfg/C++/rangeQuery.cpp:12
↓ 1 callersFunctioncompareLists
Function to check if two input lists have same data
Data Structures/LinkedList/C++/Pallindrome_Linked_List.cpp:107
↓ 1 callersMethodcompareTo
(Edge compareEdge)
Algorithms/Greedy Algorithms/Java/Kruskal’s Minimum Spanning Tree Algorithm.java:16
↓ 1 callersFunctioncomparison
Codechef/C++/Rating Game (SSEC0014).cpp:5
↓ 1 callersFunctioncomputeLPSArray
(pat, M, lps)
Algorithms/Searching and Sorting/Python/KMP_Algorithm.py:54
↓ 1 callersFunctioncomputePatArray
create pat[] that tells us the count of characters to be skipped in pattern
Algorithms/Searching and Sorting/C++/KmpAlgorithm.cpp:14
↓ 1 callersMethodconcatenatedWord
(String word, Set<String> layers)
Miscellaneous problems/Java/ConcatenatedWords/ConcatenatedWords.java:7
↓ 1 callersFunctionconstruct
(keys, low, high, root)
Data Structures/constructing a bst.py:22
↓ 1 callersFunctionconstructBST
(keys)
Data Structures/constructing a bst.py:44
↓ 1 callersFunctionconstructST
Function to construct segment tree from given array. This function allocates memory for segment tree and calls constructSTUtil() to fill the alloc
Data Structures/Tree/C++/segment_tree_implementation.cpp:69
↓ 1 callersFunctionconstructSTUtil
A recursive function that constructs Segment Tree for array[ss..se]. si is index of current node in segment tree st
Codeforces/C++/Kuriyama_Mirai's_Stones.pp.cpp:51
↓ 1 callersFunctionconstructSTUtil
-----------------------------------------------------------------------------------------construction---------------------------- A recursive function
Data Structures/Tree/C++/segment_tree_implementation.cpp:49
↓ 1 callersMethodcontainsDuplicate
(int[] nums)
Leetcode/Java/contains-duplicate.java:16
↓ 1 callersFunctionconvert
Leetcode/C++/leetcode_zig_zag.cpp:5
↓ 1 callersFunctionconvert
Hackerank/C++/hackerank_change_time_format.cpp:4
↓ 1 callersFunctionconvertToMirror
Function to convert a given binary tree into its mirror
Gfg/C++/Mirror tree.cpp:35
↓ 1 callersMethodconvertToTitle
(int columnNumber)
Leetcode/Java/Excel Sheet Column Title.java:26
↓ 1 callersFunctionconvertToWords
Function to print a given number in words
Gfg/DisplayNumberInWord.cpp:44
↓ 1 callersFunctioncopyList
Gfg/C++/clone_linked_list_with_next_and_random_pointer.cpp:36
↓ 1 callersMethodcopyRandomList
Leetcode/C++/clone a linked list using random pointer.cpp:39
↓ 1 callersMethodcopybits
(int a, int b, int l, int r)
Data Structures/copyset.java:11
↓ 1 callersFunctioncount
(S, m, n )
Algorithms/Miscellaneous/Python/Coin Change.py:6
↓ 1 callersFunctioncount
Codechef/C++/BugCrush 2 Question 4 (BUGC204).cpp:8
↓ 1 callersFunctioncount
Hackerank/C++/Count Occurences Sorted Array BS.cpp:6
↓ 1 callersMethodcount
Data Structures/Tree/Tree_Traversal.cpp:197
↓ 1 callersFunctioncountAndSay
Leetcode/C++/count_and_say.cpp:17
↓ 1 callersFunctioncountApplesAndOranges
(s, t, a, b, apples, oranges)
Hackerank/Python/Apple and Oranges.py:21
↓ 1 callersFunctioncountApplesAndOranges
Hackerank/C++/hackerrank_applesandoranges.cpp:21
↓ 1 callersFunctioncountApplesAndOranges
Hackerank/C++/applesandoranges.cpp:21
↓ 1 callersMethodcountBits
(int N)
Gfg/Java/Total_Set_Bits.java:73
↓ 1 callersMethodcountIs
(char [][]arr,int row,int col)
Leetcode/Java/NumberOfIslands.java:18
↓ 1 callersFunctioncountNodes
Data Structures/Tree/C++/countNodes.cpp:57
↓ 1 callersFunctioncountNodesX
Data Structures/Tree/C++/countNodesgreaterthanX.cpp:57
↓ 1 callersFunctioncountParenth
(symb, oper, n)
Algorithms/Dynamic Problems/Python/BooleanParenthesization.py:2
↓ 1 callersFunctioncountSort
Algorithms/Searching and Sorting/C++/Count Sort.cpp:19
↓ 1 callersMethodcountSort
(int[] arr, int exp)
Algorithms/Searching and Sorting/Java/RadixSort.java:16
↓ 1 callersMethodcountSquares
Gfg/C++/count_squares.cpp:19
↓ 1 callersFunctioncountSubstrings
Leetcode/C++/palindromic_substrings.cpp:19
↓ 1 callersFunctioncountSwaps
Hackerank/C++/Bubble Sort.cpp:17
↓ 1 callersMethodcountTriplet
Function to count triplets
Gfg/C++/count_the_triplets.cpp:30
↓ 1 callersMethodcountTriplets
Gfg/C++/triplet_less_than_x.cpp:16
↓ 1 callersFunctioncount_primes
Codechef/C++/Prime Game.cpp:39
↓ 1 callersFunctioncountchain
Hackerank/C++/Longest Collatz sequence.cpp:9
↓ 1 callersMethodcounteven
(int n)
Gfg/Java/countEvenDigit_Rec.java:3
↓ 1 callersFunctioncountfp
Function countfp Returns count of ways entered number of people can remain single or paired up.*/
Gfg/C++/FriendsPairingProblem.cpp:21
↓ 1 callersFunctioncountingSort
Using counting sort to sort the elements in the basis of significant places
Algorithms/Searching and Sorting/C++/Radix_Sort.cpp:16
↓ 1 callersFunctioncountocc
(a, x, n)
Gfg/Python/Count occurrences of an element in a sorted array.py:13
↓ 1 callersFunctioncreate
creating a function to initialize
Data Structures/LinkedList/C++/Split_LinkedList.cpp:28
↓ 1 callersFunctioncreate
Function to create a Linked List */
Data Structures/LinkedList/C/PairwiseSwap.c:49
↓ 1 callersFunctioncreate
Function for Creation of a Linked List */
Data Structures/LinkedList/C/odd_even_seggregate.c:29
↓ 1 callersFunctioncreate
Data Structures/LinkedList/C/Operations_on_linkedlist.c:111
↓ 1 callersFunctioncreate
Function to create a doubly ended queue */
Data Structures/LinkedList/C/dequeue.c:15
↓ 1 callersFunctioncreate
CREATION OF A SINGLY LINKED LIST
Data Structures/LinkedList/C/remove_dup.c:21
↓ 1 callersFunctioncreate
function to create tree*/
Data Structures/Tree/C++/BST Binary Tree.cpp:10
↓ 1 callersFunctioncreate
Function for Creation of a Node */
Data Structures/Tree/C/Morris.c:18
↓ 1 callersFunctioncreate
Data Structures/Stack/C/array implementation of stack.c:30
↓ 1 callersMethodcreate
Data Structures/LinkedList/C++/Double_linked_list.cpp:26
↓ 1 callersMethodcreate
(Node node,int i)
Data Structures/LinkedList/Java/Reversing_Circular_LinkedList.java:43
↓ 1 callersFunctioncreateGraph
Function to create a Graph with V:Vertices and E:Edges */
Algorithms/Dynamic Problems/C/bellmanford.c:28
↓ 1 callersMethodcreateList
Leetcode/C++/SwapNodesInPairs.cpp:44
↓ 1 callersFunctioncreateMyStack
Function to create the stack data structure */
Gfg/C++/middle element of stack.cpp:28
↓ 1 callersFunctioncreateQueue
function to create a queue of given capacity. It initializes size of queue as 0
Gfg/C++/implementation Of Queue.cpp:17
↓ 1 callersMethodcreateTargetArray
(int[] nums, int[] index)
Leetcode/Java/createTargetArray.java:25
↓ 1 callersFunctioncreate_doubly_linked_list_node
Hackerank/C/Inserting a Node into a Sorted Doubly Linked List.c:23
↓ 1 callersFunctioncreate_ll
Data Structures/Stack/C++/Reverse_ll_using_Stack.cpp:100
↓ 1 callersFunctioncreate_singly_linked_list_node
Hackerank/C/Print element in Linked List.c:26
↓ 1 callersFunctioncreate_singly_linked_list_node
Hackerank/C/Delete-Duplicate-Value-Node-From-Sorted-LinkedList.c:30
↓ 1 callersFunctioncreate_singly_linked_list_node
Hackerank/C/Get Node Value.c:26
← previousnext →501–600 of 2,762, ranked by callers