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
create_singly_linked_list_node
Hackerank/C/Cycle Detection.c:26
↓ 1 callers
Function
create_singly_linked_list_node
Hackerank/C/Merge two sorted linkedlist.c:26
↓ 1 callers
Method
customSortString
(String order, String str)
Leetcode/Java/CustomSortString.java:23
↓ 1 callers
Method
cutTheSticks
(List<Integer> list)
Hackerank/Java/CutTheSticks.java:31
↓ 1 callers
Function
dailyTemperatures
function to get a warmer temperature.
Leetcode/C++/Daily temperatures.cpp:17
↓ 1 callers
Function
dayOfProgrammer
Hackerank/C++/Day_Of_a_Programmer.cpp:47
↓ 1 callers
Method
dayOfProgrammer
(int year)
Hackerank/Java/Day-of-the-programmer.java:16
↓ 1 callers
Method
delet
Data Structures/LinkedList/C++/Double_linked_list.cpp:95
↓ 1 callers
Function
deleteNode
(root, val)
Data Structures/Tree/BST.py:74
↓ 1 callers
Method
deleteNode
(int position)
Algorithms/LinkedList/singlyll.java:50
↓ 1 callers
Method
deleteNode
(int position)
Algorithms/LinkedList/linkedlist.java:53
↓ 1 callers
Method
deleteNode
(int key)
Leetcode/Java/Delete Node in a Linked List.java:32
↓ 1 callers
Method
deleteNode
delete the node from the tree
Data Structures/Tree/C++/Red Black Tree (Insertion and Deletion operation).cpp:450
↓ 1 callers
Method
deleteNode
Function to delete a node without any reference to head pointer.
Gfg/C++/Delete_without_head_pointer.cpp:74
↓ 1 callers
Method
deletePos
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:245
↓ 1 callers
Method
deletePos
Data Structures/LinkedList/C++/Doubly-Linked-List.cpp:238
↓ 1 callers
Method
deleteTail
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:230
↓ 1 callers
Method
deleteTail
Data Structures/LinkedList/C++/Doubly-Linked-List.cpp:224
↓ 1 callers
Function
delete_begin
Data Structures/LinkedList/C/Operations_on_linkedlist.c:239
↓ 1 callers
Function
delete_element
Data Structures/Tree/C++/Binary_Search_Tree.cpp:254
↓ 1 callers
Function
delete_end
Data Structures/LinkedList/C/Operations_on_linkedlist.c:255
↓ 1 callers
Function
delete_front
Function to delete an element from front */
Data Structures/LinkedList/C/dequeue.c:74
↓ 1 callers
Function
delete_pos
Data Structures/LinkedList/C/Operations_on_linkedlist.c:283
↓ 1 callers
Method
delete_pos
Delete element at a given position
Data Structures/LinkedList/C++/SinglyLinkedList.cpp:250
↓ 1 callers
Function
delete_rear
Function to delete an element from rear */
Data Structures/LinkedList/C/dequeue.c:91
↓ 1 callers
Function
deletemiddle
Function for deleting middle of the stack
Gfg/C++/middle element of stack.cpp:115
↓ 1 callers
Function
dequeue
Function to remove an item from queue. It changes front and size
Gfg/C++/implementation Of Queue.cpp:57
↓ 1 callers
Method
dequeue
Data Structures/QueueUsingLL.cpp:73
↓ 1 callers
Method
dequeue
Data Structures/Tree/C++/Binary_tree_traversal.cpp:37
↓ 1 callers
Function
designerPdfViewer
Hackerank/C++/Designer PDF Viewer.cpp:41
↓ 1 callers
Method
designerPdfViewer
(int[] h, String word)
Hackerank/Java/Designer_PDF_Viewer.java:12
↓ 1 callers
Method
detectLoop
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 callers
Method
detectLoop
(Node head)
Gfg/Java/Delete_Loop_from_LL.java:63
↓ 1 callers
Method
detectLoop
(Node head)
Gfg/Java/DetectCycleInLinkedlist.java:77
↓ 1 callers
Method
detectLoop
(Node head)
Gfg/Java/detect-loop-in-linked-list.java:77
↓ 1 callers
Function
dfs
Algorithms/Graph/C++/TopologicalSort.cpp:18
↓ 1 callers
Function
dfs
this dfs function will visit the nodes
Algorithms/Graph/C/connected_components.c:14
↓ 1 callers
Function
dfs
Codechef/C++/Tree House (THOUSES).cpp:50
↓ 1 callers
Function
dfs_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 callers
Function
dfs_visit
Algorithms/Graph/C++/TopologicalSort.cpp:10
↓ 1 callers
Function
diagonal
Gfg/C++/Diagonal Traversal of Binary Tree.cpp:23
↓ 1 callers
Function
diameter
Recursive functin to calculate the diameter of the tree
Data Structures/Tree/C++/diameter_of_binary_tree.cpp:49
↓ 1 callers
Method
diameter
(Node root)
Gfg/Java/Diameter of Binary Tree.java:108
↓ 1 callers
Function
digitSum
Function that gives sum of digits of numbers
Hackerank/C++/lucky_number.cpp:22
↓ 1 callers
Function
dijkstra
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 callers
Function
dijkstra
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 callers
Function
dijkstra
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 callers
Function
display
Data Structures/LinkedList/C/Operations_on_linkedlist.c:137
↓ 1 callers
Function
display
Data Structures/Stack/C++/Stack-implementation_using_array.cpp:35
↓ 1 callers
Method
display
(int[][] grid)
Algorithms/Backtracking/Java/SudokuBacktracking.java:24
↓ 1 callers
Method
display
(int[][] board)
Algorithms/Backtracking/Java/NQueenBacktracking.java:61
↓ 1 callers
Method
display
Data Structures/LinkedList/C++/Double_linked_list.cpp:150
↓ 1 callers
Method
display
Display Elements of linked list
Data Structures/LinkedList/C++/SinglyLinkedList.cpp:384
↓ 1 callers
Method
display
Data Structures/Array/C++/Hashing_with_arrays.cpp:107
↓ 1 callers
Method
display
(int[] a)
Data Structures/Array/Java/Rotation_of_Array_by_Kelements.java:6
↓ 1 callers
Function
displayList
Data Structures/LinkedList/C++/Majority Element.cpp:15
↓ 1 callers
Function
displayList
Data Structures/LinkedList/C++/Join Two Linklist.cpp:16
↓ 1 callers
Function
displayList
Gfg/C++/Join Two Linklist.cpp:15
↓ 1 callers
Method
displayList
()
Algorithms/LinkedList/circularll.java:35
↓ 1 callers
Method
displayMatrix
(int N, int mat[][])
Gfg/Java/Rotate Matrix 90 degree.java:23
↓ 1 callers
Function
distance
Algorithms/Graphs/Prisoners_escape.cpp:49
↓ 1 callers
Function
divisibleSumPairs
Hackerank/C++/Divisible Sum Pairs.cpp:42
↓ 1 callers
Function
dnf
Algorithms/Searching and Sorting/C++/DNF.cpp:12
↓ 1 callers
Function
done
Codechef/C++/Tree Permutations (TREEPERM).cpp:40
↓ 1 callers
Function
dupSub
Gfg/C++/Duplicate subtree in Binary Tree.cpp:52
↓ 1 callers
Function
dynamicArray
Data Structures/Array/C++/Dynamic Array.cpp:21
↓ 1 callers
Method
edge_add
Gfg/C++/BFS.cpp:16
↓ 1 callers
Function
editDist
Algorithms/Dynamic Problems/C++/Edit Distance.cpp:9
↓ 1 callers
Method
eggDrop
Gfg/C++/Egg_Dropping_Puzzle.cpp:17
↓ 1 callers
Function
empty
Data Structures/Stack/C/PrefixtoInfixusingstack.c:25
↓ 1 callers
Method
encode
(String str,int[] arr)
Gfg/Java/Huffman Encoding.java:23
↓ 1 callers
Method
encryption
(String s)
Hackerank/Java/Encryption.java:12
↓ 1 callers
Method
enqueue
Data Structures/QueueUsingLL.cpp:52
↓ 1 callers
Function
enqueue_front
Function to insert an element to the front */
Data Structures/LinkedList/C/dequeue.c:42
↓ 1 callers
Function
enqueue_rear
Function to insert an element to the rear */
Data Structures/LinkedList/C/dequeue.c:58
↓ 1 callers
Function
eucledian_distance
calculate eucledian distance between point and (0, 0)
Algorithms/Miscellaneous/C++/K_Closest_Points_to_Origin.cpp:24
↓ 1 callers
Function
evalRPN
Leetcode/C++/Evaluate-reverse-polish-notation.cpp:23
↓ 1 callers
Function
ex
Algorithms/Greedy Algorithms/Taylor_series.cpp:25
↓ 1 callers
Function
fact
(n)
Codechef/Python/Small Factorials.py:1
↓ 1 callers
Function
fact
Codechef/C++/BugCrush 2 Question 6 (BUGC206).cpp:4
↓ 1 callers
Function
fact
Hackerank/C++/Poisson Distribution.cpp:15
↓ 1 callers
Function
factorial
Algorithms/Greedy Algorithms/Taylor_series.cpp:35
↓ 1 callers
Function
factorial
(n)
Hackerank/Python/Factorial digit sum.py:3
↓ 1 callers
Function
fib
(n)
Algorithms/Dynamic Problems/Python/Print Fibonacci sequence using 2 variables.py:4
↓ 1 callers
Function
fib
Algorithms/Dynamic Problems/C++/Fibonacci numbers.cpp:5
↓ 1 callers
Function
fibonacciModified
(t1, t2, n)
Hackerank/Python/Fibonacci Modified.py:10
↓ 1 callers
Function
fillArray
Data Structures/Array/C++/max-absolute-difference.cpp:19
↓ 1 callers
Function
final_diameter
calculating the diameter of the binary tree.
Gfg/C++/Diameter of Binary Tree.cpp:41
↓ 1 callers
Function
find
Codeforces/C++/Indian Coin Change.cpp:12
↓ 1 callers
Function
find
Gfg/C++/First and last occurrences of x.cpp:27
↓ 1 callers
Method
find
(int N)
Gfg/Java/Lucky_Person_Alive.java:83
↓ 1 callers
Method
findAllConcatenatedWordsInADict
Algorithms/Miscellaneous/C++/contamenatedwords.cpp:51
↓ 1 callers
Function
findCandidate
(A)
Data Structures/MajorityElement.py:4
↓ 1 callers
Function
findCenter
Data Structures/Center_Of_Star_Graph.cpp:15
↓ 1 callers
Method
findCheapestPrice
Leetcode/C++/cheapest_flight_with_k_stops.cpp:9
↓ 1 callers
Method
findClosedTour
()
Algorithms/Miscellaneous/Java/WarnsdorffAlgorithm.java:99
↓ 1 callers
Function
findDigits
Hackerank/C++/Find Digits.cpp:35
↓ 1 callers
Function
findDuplicate
Leetcode/C++/Find the dupliacte number.cpp:17
↓ 1 callers
Method
findKthLargest
(self, nums, k)
Gfg/Python/Kthlargestelement.py:2
↓ 1 callers
Method
findLadders
(self, beginWord: str, endWord: str, wordList: List[str])
Leetcode/WordLadder-II.py:2
← previous
next →
601–700 of 2,762, ranked by callers