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

↓ 2 callersFunctioncharacters_count
Hackerank/C/Sorting Array of Strings.c:12
↓ 2 callersFunctioncheckPrime
(number)
Hackerank/Python/LuckyNumber.py:33
↓ 2 callersFunctioncheck_precedence
Data Structures/Stack/C/Infix to Postfix Using Stack in C.c:53
↓ 2 callersMethodcompareTo
(Pair other)
Leetcode/Java/DijsktraAlgo.java:31
↓ 2 callersFunctionconstructST
Function to construct segment tree from given array. This function allocates memory for segment tree and calls constructSTUtil() to fill the allocat
Codeforces/C++/Kuriyama_Mirai's_Stones.pp.cpp:72
↓ 2 callersMethoddeleteHead
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:216
↓ 2 callersMethoddeleteHead
Data Structures/LinkedList/C++/Doubly-Linked-List.cpp:212
↓ 2 callersFunctiondispaly
printing circular linked list
Data Structures/LinkedList/C++/Reverse_Circular_Linkedlist.cpp:46
↓ 2 callersMethoddisplay
()
Algorithms/Searching and Sorting/Java/ArrayInsertsort.java:23
↓ 2 callersMethoddisplay
()
Data Structures/LinkedList/Java/Reversing_Circular_LinkedList.java:63
↓ 2 callersMethoddisplay
(self)
Data Structures/Stack/Python/Stack.py:40
↓ 2 callersMethodenqueue
Data Structures/Tree/C++/Binary_tree_traversal.cpp:19
↓ 2 callersFunctionfact
Calculating Factorial recursive approach
Gfg/C++/calculate_nPr.cpp:14
↓ 2 callersMethodfind
(self,words)
Algorithms/Miscellaneous/Python/Concatenation.py:2
↓ 2 callersMethodfind
Gfg/Minimum spanning tree.cpp:24
↓ 2 callersFunctionfindGap
(gap)
Gfg/Python/merge_two_sorted_array_without_extra_space.py:4
↓ 2 callersMethodfindLevel
(Node root,int num ,int level)
Gfg/Java/Node_Distance_BST.java:29
↓ 2 callersFunctionfind_median
(arr)
Hackerank/Python/Interquartile Range.py:1
↓ 2 callersFunctionfreeList
To delete the linked list.
Gfg/C++/Multiply two linked lists.cpp:83
↓ 2 callersFunctiongetMid
A utility function to get the middle index from corner indexes.
Codeforces/C++/Kuriyama_Mirai's_Stones.pp.cpp:13
↓ 2 callersFunctiongetNoOfWays
Algorithms/Dynamic Problems/C++/Tiling Problem.cpp:7
↓ 2 callersFunctiongetNode
Returns new trie node (initialized to NULLs)
Gfg/C++/trie-insert-and-search.cpp:19
↓ 2 callersFunctiongetPower
Codechef/C++/Bitwise tuples(BITTUP).cpp:5
↓ 2 callersFunctiongetSum
Return sum of elements in range from index qs (quey start) to qe (query end). It mainly uses getSumUtil()
Codeforces/C++/Kuriyama_Mirai's_Stones.pp.cpp:37
↓ 2 callersFunctiongetSum
(n)
Hackerank/Python/LuckyNumber.py:19
↓ 2 callersFunctionget_sum
Function to get sum of all numbers in the array */
Data Structures/FenwickTree.c:14
↓ 2 callersFunctionget_sum
Function to get sum of all numbers in the array */
Data Structures/Tree/C/FenwickTree.c:14
↓ 2 callersFunctiongreedyColoring
(adj, V)
Algorithms/Graph/Python/Graph Coloring.py:14
↓ 2 callersFunctionheapify
To heapify a subtree rooted with node i which is an index in arr[]. n is size of heap
Gfg/C++/implementation of Heap Sort.cpp:8
↓ 2 callersFunctionheight
Recusive function to calculate the height of the tree
Data Structures/Tree/C++/diameter_of_binary_tree.cpp:36
↓ 2 callersFunctionheight
Gfg/C++/Diameter of Binary Tree.cpp:23
↓ 2 callersMethodheight
(Node root)
Gfg/Java/Diameter of Binary Tree.java:131
↓ 2 callersFunctioninorder_rec
INORDER TRAVERSAL WITH RECURSION */
Data Structures/Tree/sum_replacement.cpp:56
↓ 2 callersMethodinsertAtBeginning
(int data)
Algorithms/LinkedList/singlyll.java:15
↓ 2 callersMethodinsertAtBeginning
(int data)
Algorithms/LinkedList/linkedlist.java:18
↓ 2 callersMethodinsertAtEnd
(int data)
Algorithms/LinkedList/singlyll.java:32
↓ 2 callersMethodinsertAtEnd
(int data)
Algorithms/LinkedList/linkedlist.java:35
↓ 2 callersFunctioninsertNode
(root, val)
Data Structures/Tree/BST.py:23
↓ 2 callersMethodisEmpty
()
Data Structures/Stack/Java/StackArray.java:13
↓ 2 callersFunctionisPerfect
function which returns true if particular element is Perfect number */
Algorithms/Miscellaneous/C++/perfect_no.cpp:32
↓ 2 callersFunctionisPrime
Function that checks number is prime or not
Hackerank/C++/lucky_number.cpp:45
↓ 2 callersFunctionis_operator
Data Structures/Stack/C/Infix to Postfix Using Stack in C.c:41
↓ 2 callersMethodisempty
(int a[], int x, int y)
Algorithms/Miscellaneous/Java/WarnsdorffAlgorithm.java:19
↓ 2 callersFunctionisleap
Hackerank/C++/Counting Sundays.cpp:9
↓ 2 callersFunctionkmain
Codeforces/C++/Phoenix and Puzzle.cpp:6
↓ 2 callersFunctionlexicographic_sort
Hackerank/C/Sorting Array of Strings.c:4
↓ 2 callersFunctionltrim
Hackerank/C++/New Year Chaos.cpp:78
↓ 2 callersFunctionltrim
Hackerank/C++/Grading Students.cpp:98
↓ 2 callersFunctionltrim
Hackerank/C++/The Time in Words.cpp:113
↓ 2 callersFunctionltrim
Hackerank/C++/Find Digits.cpp:77
↓ 2 callersFunctionmaxLength
(array)
Miscellaneous problems/Python/ZeroSumSubarray/SubarrayZeroSum.py:4
↓ 2 callersFunctionmerge
function merge BST in sorted order
Gfg/C++/merge_BST.cpp:52
↓ 2 callersMethodmerge
(int arr[],int n,int brr[],int m,boolean flag)
Gfg/MedianOfTwoSortedArrayJava.java:56
↓ 2 callersFunctionmin
A utility function to find minimum of two float values
Algorithms/Divide and Conquer/C++/Closest Pair of Points using Divide and Conquer algorithm.cpp:57
↓ 2 callersFunctionmin_element
Data Structures/Tree/C++/Binary_Search_Tree.cpp:177
↓ 2 callersMethodmyAtoi
:type str: str :rtype: int
Leetcode/Python/String_to_atoi_(Leetcode-Medium).py:45
↓ 2 callersFunctionmystrtok
Algorithms/Miscellaneous/C++/string_tokenizer.cpp:5
↓ 2 callersFunctionnCr
Hackerank/C++/Binomial Distribution 2.cpp:15
↓ 2 callersFunctionnewGap
Function to merge the arrays.
Data Structures/gap_method.cpp:9
↓ 2 callersMethodnewNode
(int data)
Gfg/Java/Delete_Loop_from_LL.java:39
↓ 2 callersMethodni
()
Hackerank/Java/Strong-password.java:122
↓ 2 callersFunctionnumber_of_packages
Hackerank/C/Post Transition.c:77
↓ 2 callersMethodpermutationCoeff
(int n, int k)
Gfg/Java/Permutation Coefficient.java:12
↓ 2 callersFunctionpop
function to pop-up top of stack
Data Structures/Stack/C/histogram.c:21
↓ 2 callersFunctionpop
Function to pop an element from stack */
Gfg/C++/middle element of stack.cpp:71
↓ 2 callersFunctionpopr
Data Structures/Stack/C/PrefixtoInfixusingstack.c:21
↓ 2 callersFunctionpower
Codechef/C++/BitwiseTuples.cpp:27
↓ 2 callersFunctionpr
(n)
Codechef/Python/CyclicQuad.py:19
↓ 2 callersFunctionprList
(head)
Gfg/Python/rCircularLinked.py:40
↓ 2 callersFunctionprintArray
UTILITY FUNCTIONS Function to print an array
Algorithms/Searching and Sorting/C++/Merge Sort.cpp:77
↓ 2 callersFunctionprintArray
Utility function to print an array */
Gfg/C++/reverse_an_array.cpp:18
↓ 2 callersFunctionprintList
Function to print the nodes of the linked list
Gfg/C++/LINKED_LIST_RATIO.cpp:81
↓ 2 callersMethodprintList
()
Leetcode/Java/Delete Node in a Linked List.java:71
↓ 2 callersMethodprintList
(Node head)
Gfg/Java/reverseLinkedList.java:39
↓ 2 callersMethodprintList
(node head)
Gfg/Java/Remove_Duplicate_Elements_from_Unsorted_LL.java:74
↓ 2 callersMethodprintlist
Data Structures/LinkedList/C++/Merge Point of Two Linked List.cpp:69
↓ 2 callersMethodprintlist
Gfg/C++/SinglyLinkedListInsertionSort.cpp:77
↓ 2 callersFunctionpush
push function adds(pushes) element on top of stack
Data Structures/Stack/C/histogram.c:16
↓ 2 callersFunctionpush
To insert a node in the linked list.
Gfg/C++/Multiply two linked lists.cpp:52
↓ 2 callersMethodpush
(self,op)
Data Structures/Stack/Python/Infix_postfix.py:26
↓ 2 callersFunctionreadline
Hackerank/C/Funny String.c:53
↓ 2 callersFunctionreadline
Hackerank/C/Anagram.c:51
↓ 2 callersFunctionrelax
Algorithms/JohnsonAlgorithm.cpp:18
↓ 2 callersFunctionremoveDuplicates
Hackerank/C/Delete-Duplicate-Value-Node-From-Sorted-LinkedList.c:99
↓ 2 callersFunctionrestoreDown
function to heapify (or restore the max- heap property). This is used to build a k-ary heap and in extractMin() att[] -- Array that stores heap
Algorithms/Dynamic Problems/k_arrayheap.cpp:12
↓ 2 callersFunctionreverse
Function to reverse the linked list Note that this function may change the head
Data Structures/LinkedList/C++/Pallindrome_Linked_List.cpp:89
↓ 2 callersMethodreverse
Gfg/C++/reverse_link_list_grup.cpp:44
↓ 2 callersMethodreverse
(Node head)
Gfg/Java/Add-1-to-a-number-represented-as-linked-list.java:91
↓ 2 callersFunctionrtrim
Hackerank/C++/Arrays Left Rotation.cpp:86
↓ 2 callersFunctionrtrim
Hackerank/C++/Breaking The Records.cpp:141
↓ 2 callersFunctionrtrim
Hackerank/C++/Birthday Cake Candles.cpp:70
↓ 2 callersFunctionrtrim
Hackerank/C++/hackerrank_birthdaycake.cpp:74
↓ 2 callersFunctionrtrim
Hackerank/C++/Plus-Minus.cpp:102
↓ 2 callersFunctionrtrim
Hackerank/C++/A Very Big Sum.cpp:89
↓ 2 callersFunctionrtrim
Hackerank/C++/The Hurdle Race.cpp:108
↓ 2 callersFunctionrtrim
Hackerank/C++/Divisible Sum Pairs.cpp:101
↓ 2 callersFunctionrtrim
Hackerank/C++/Bubble Sort.cpp:76
↓ 2 callersFunctionrtrim
Hackerank/C++/Grading Students.cpp:109
↓ 2 callersFunctionrtrim
Hackerank/C++/The Time in Words.cpp:124
↓ 2 callersFunctionrtrim
Hackerank/C++/Find Digits.cpp:88
← previousnext →201–300 of 2,762, ranked by callers