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 callersFunctioncreate_singly_linked_list_node
Hackerank/C/Cycle Detection.c:26
↓ 1 callersFunctioncreate_singly_linked_list_node
Hackerank/C/Merge two sorted linkedlist.c:26
↓ 1 callersMethodcustomSortString
(String order, String str)
Leetcode/Java/CustomSortString.java:23
↓ 1 callersMethodcutTheSticks
(List<Integer> list)
Hackerank/Java/CutTheSticks.java:31
↓ 1 callersFunctiondailyTemperatures
function to get a warmer temperature.
Leetcode/C++/Daily temperatures.cpp:17
↓ 1 callersFunctiondayOfProgrammer
Hackerank/C++/Day_Of_a_Programmer.cpp:47
↓ 1 callersMethoddayOfProgrammer
(int year)
Hackerank/Java/Day-of-the-programmer.java:16
↓ 1 callersMethoddelet
Data Structures/LinkedList/C++/Double_linked_list.cpp:95
↓ 1 callersFunctiondeleteNode
(root, val)
Data Structures/Tree/BST.py:74
↓ 1 callersMethoddeleteNode
(int position)
Algorithms/LinkedList/singlyll.java:50
↓ 1 callersMethoddeleteNode
(int position)
Algorithms/LinkedList/linkedlist.java:53
↓ 1 callersMethoddeleteNode
(int key)
Leetcode/Java/Delete Node in a Linked List.java:32
↓ 1 callersMethoddeleteNode
delete the node from the tree
Data Structures/Tree/C++/Red Black Tree (Insertion and Deletion operation).cpp:450
↓ 1 callersMethoddeleteNode
Function to delete a node without any reference to head pointer.
Gfg/C++/Delete_without_head_pointer.cpp:74
↓ 1 callersMethoddeletePos
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:245
↓ 1 callersMethoddeletePos
Data Structures/LinkedList/C++/Doubly-Linked-List.cpp:238
↓ 1 callersMethoddeleteTail
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:230
↓ 1 callersMethoddeleteTail
Data Structures/LinkedList/C++/Doubly-Linked-List.cpp:224
↓ 1 callersFunctiondelete_begin
Data Structures/LinkedList/C/Operations_on_linkedlist.c:239
↓ 1 callersFunctiondelete_element
Data Structures/Tree/C++/Binary_Search_Tree.cpp:254
↓ 1 callersFunctiondelete_end
Data Structures/LinkedList/C/Operations_on_linkedlist.c:255
↓ 1 callersFunctiondelete_front
Function to delete an element from front */
Data Structures/LinkedList/C/dequeue.c:74
↓ 1 callersFunctiondelete_pos
Data Structures/LinkedList/C/Operations_on_linkedlist.c:283
↓ 1 callersMethoddelete_pos
Delete element at a given position
Data Structures/LinkedList/C++/SinglyLinkedList.cpp:250
↓ 1 callersFunctiondelete_rear
Function to delete an element from rear */
Data Structures/LinkedList/C/dequeue.c:91
↓ 1 callersFunctiondeletemiddle
Function for deleting middle of the stack
Gfg/C++/middle element of stack.cpp:115
↓ 1 callersFunctiondequeue
Function to remove an item from queue. It changes front and size
Gfg/C++/implementation Of Queue.cpp:57
↓ 1 callersMethoddequeue
Data Structures/QueueUsingLL.cpp:73
↓ 1 callersMethoddequeue
Data Structures/Tree/C++/Binary_tree_traversal.cpp:37
↓ 1 callersFunctiondesignerPdfViewer
Hackerank/C++/Designer PDF Viewer.cpp:41
↓ 1 callersMethoddesignerPdfViewer
(int[] h, String word)
Hackerank/Java/Designer_PDF_Viewer.java:12
↓ 1 callersMethoddetectLoop
Function to check if the linked list has a loop. This is the solution using the two pointer algorithm.
Gfg/C++/Detect_Loop_in_linked_list.cpp:70
↓ 1 callersMethoddetectLoop
(Node head)
Gfg/Java/Delete_Loop_from_LL.java:63
↓ 1 callersMethoddetectLoop
(Node head)
Gfg/Java/DetectCycleInLinkedlist.java:77
↓ 1 callersMethoddetectLoop
(Node head)
Gfg/Java/detect-loop-in-linked-list.java:77
↓ 1 callersFunctiondfs
Algorithms/Graph/C++/TopologicalSort.cpp:18
↓ 1 callersFunctiondfs
this dfs function will visit the nodes
Algorithms/Graph/C/connected_components.c:14
↓ 1 callersFunctiondfs
Codechef/C++/Tree House (THOUSES).cpp:50
↓ 1 callersFunctiondfs_entry_exit
function created to find the entry and exit time each vertex and store it in vertex time_in and time_out
Algorithms/Graph/C++/dfs_entry_exit_time.cpp:20
↓ 1 callersFunctiondfs_visit
Algorithms/Graph/C++/TopologicalSort.cpp:10
↓ 1 callersFunctiondiagonal
Gfg/C++/Diagonal Traversal of Binary Tree.cpp:23
↓ 1 callersFunctiondiameter
Recursive functin to calculate the diameter of the tree
Data Structures/Tree/C++/diameter_of_binary_tree.cpp:49
↓ 1 callersMethoddiameter
(Node root)
Gfg/Java/Diameter of Binary Tree.java:108
↓ 1 callersFunctiondigitSum
Function that gives sum of digits of numbers
Hackerank/C++/lucky_number.cpp:22
↓ 1 callersFunctiondijkstra
Function to find the shortest path from source * using Dijkstra's algorithm * source: the source vertex * V: number of vertices * e: number of edg
Algorithms/JohnsonAlgorithm.cpp:81
↓ 1 callersFunctiondijkstra
Function that implements Dijkstra's single source shortest path algorithm for a graph represented using adjacency matrix representation
Algorithms/Greedy Algorithms/C++/Dijkstra’s shortest path algorithm.cpp:34
↓ 1 callersFunctiondijkstra
Function that implements Dijkstra's single source shortest path algorithm for a graph represented using adjacency matrix representation
Gfg/C++/dijkstras algo.cpp:34
↓ 1 callersFunctiondisplay
Data Structures/LinkedList/C/Operations_on_linkedlist.c:137
↓ 1 callersFunctiondisplay
Data Structures/Stack/C++/Stack-implementation_using_array.cpp:35
↓ 1 callersMethoddisplay
(int[][] grid)
Algorithms/Backtracking/Java/SudokuBacktracking.java:24
↓ 1 callersMethoddisplay
(int[][] board)
Algorithms/Backtracking/Java/NQueenBacktracking.java:61
↓ 1 callersMethoddisplay
Data Structures/LinkedList/C++/Double_linked_list.cpp:150
↓ 1 callersMethoddisplay
Display Elements of linked list
Data Structures/LinkedList/C++/SinglyLinkedList.cpp:384
↓ 1 callersMethoddisplay
Data Structures/Array/C++/Hashing_with_arrays.cpp:107
↓ 1 callersMethoddisplay
(int[] a)
Data Structures/Array/Java/Rotation_of_Array_by_Kelements.java:6
↓ 1 callersFunctiondisplayList
Data Structures/LinkedList/C++/Majority Element.cpp:15
↓ 1 callersFunctiondisplayList
Data Structures/LinkedList/C++/Join Two Linklist.cpp:16
↓ 1 callersFunctiondisplayList
Gfg/C++/Join Two Linklist.cpp:15
↓ 1 callersMethoddisplayList
()
Algorithms/LinkedList/circularll.java:35
↓ 1 callersMethoddisplayMatrix
(int N, int mat[][])
Gfg/Java/Rotate Matrix 90 degree.java:23
↓ 1 callersFunctiondistance
Algorithms/Graphs/Prisoners_escape.cpp:49
↓ 1 callersFunctiondivisibleSumPairs
Hackerank/C++/Divisible Sum Pairs.cpp:42
↓ 1 callersFunctiondnf
Algorithms/Searching and Sorting/C++/DNF.cpp:12
↓ 1 callersFunctiondone
Codechef/C++/Tree Permutations (TREEPERM).cpp:40
↓ 1 callersFunctiondupSub
Gfg/C++/Duplicate subtree in Binary Tree.cpp:52
↓ 1 callersFunctiondynamicArray
Data Structures/Array/C++/Dynamic Array.cpp:21
↓ 1 callersMethodedge_add
Gfg/C++/BFS.cpp:16
↓ 1 callersFunctioneditDist
Algorithms/Dynamic Problems/C++/Edit Distance.cpp:9
↓ 1 callersMethodeggDrop
Gfg/C++/Egg_Dropping_Puzzle.cpp:17
↓ 1 callersFunctionempty
Data Structures/Stack/C/PrefixtoInfixusingstack.c:25
↓ 1 callersMethodencode
(String str,int[] arr)
Gfg/Java/Huffman Encoding.java:23
↓ 1 callersMethodencryption
(String s)
Hackerank/Java/Encryption.java:12
↓ 1 callersMethodenqueue
Data Structures/QueueUsingLL.cpp:52
↓ 1 callersFunctionenqueue_front
Function to insert an element to the front */
Data Structures/LinkedList/C/dequeue.c:42
↓ 1 callersFunctionenqueue_rear
Function to insert an element to the rear */
Data Structures/LinkedList/C/dequeue.c:58
↓ 1 callersFunctioneucledian_distance
calculate eucledian distance between point and (0, 0)
Algorithms/Miscellaneous/C++/K_Closest_Points_to_Origin.cpp:24
↓ 1 callersFunctionevalRPN
Leetcode/C++/Evaluate-reverse-polish-notation.cpp:23
↓ 1 callersFunctionex
Algorithms/Greedy Algorithms/Taylor_series.cpp:25
↓ 1 callersFunctionfact
(n)
Codechef/Python/Small Factorials.py:1
↓ 1 callersFunctionfact
Codechef/C++/BugCrush 2 Question 6 (BUGC206).cpp:4
↓ 1 callersFunctionfact
Hackerank/C++/Poisson Distribution.cpp:15
↓ 1 callersFunctionfactorial
Algorithms/Greedy Algorithms/Taylor_series.cpp:35
↓ 1 callersFunctionfactorial
(n)
Hackerank/Python/Factorial digit sum.py:3
↓ 1 callersFunctionfib
(n)
Algorithms/Dynamic Problems/Python/Print Fibonacci sequence using 2 variables.py:4
↓ 1 callersFunctionfib
Algorithms/Dynamic Problems/C++/Fibonacci numbers.cpp:5
↓ 1 callersFunctionfibonacciModified
(t1, t2, n)
Hackerank/Python/Fibonacci Modified.py:10
↓ 1 callersFunctionfillArray
Data Structures/Array/C++/max-absolute-difference.cpp:19
↓ 1 callersFunctionfinal_diameter
calculating the diameter of the binary tree.
Gfg/C++/Diameter of Binary Tree.cpp:41
↓ 1 callersFunctionfind
Codeforces/C++/Indian Coin Change.cpp:12
↓ 1 callersFunctionfind
Gfg/C++/First and last occurrences of x.cpp:27
↓ 1 callersMethodfind
(int N)
Gfg/Java/Lucky_Person_Alive.java:83
↓ 1 callersMethodfindAllConcatenatedWordsInADict
Algorithms/Miscellaneous/C++/contamenatedwords.cpp:51
↓ 1 callersFunctionfindCandidate
(A)
Data Structures/MajorityElement.py:4
↓ 1 callersFunctionfindCenter
Data Structures/Center_Of_Star_Graph.cpp:15
↓ 1 callersMethodfindCheapestPrice
Leetcode/C++/cheapest_flight_with_k_stops.cpp:9
↓ 1 callersMethodfindClosedTour
()
Algorithms/Miscellaneous/Java/WarnsdorffAlgorithm.java:99
↓ 1 callersFunctionfindDigits
Hackerank/C++/Find Digits.cpp:35
↓ 1 callersFunctionfindDuplicate
Leetcode/C++/Find the dupliacte number.cpp:17
↓ 1 callersMethodfindKthLargest
(self, nums, k)
Gfg/Python/Kthlargestelement.py:2
↓ 1 callersMethodfindLadders
(self, beginWord: str, endWord: str, wordList: List[str])
Leetcode/WordLadder-II.py:2
← previousnext →601–700 of 2,762, ranked by callers