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
↓ 4 callers
Function
getsum
Return sum of elements in range from index qs (quey start) to qe (query end). It mainly uses getSumUtil()
Data Structures/Tree/C++/segment_tree_implementation.cpp:109
↓ 4 callers
Function
inOrder
Data Structures/Tree/C++/Binary_tree_traversal.cpp:105
↓ 4 callers
Function
inorder
Calculating inorder of tree
Gfg/C++/merge_BST.cpp:29
↓ 4 callers
Function
isEmpty
Queue is empty when size is 0
Gfg/C++/implementation Of Queue.cpp:37
↓ 4 callers
Function
mergeSort
l is for left index and r is right index of the sub-array of arr to be sorted */
Algorithms/Searching and Sorting/C++/Merge Sort.cpp:65
↓ 4 callers
Function
min
Hackerank/C/Variadic functions in C.c:18
↓ 4 callers
Function
newNode
Data Structures/LinkedList/C++/Reverse_Circular_Linkedlist.cpp:14
↓ 4 callers
Function
pop
Data Structures/Stack/C/Infix to Postfix Using Stack in C.c:24
↓ 4 callers
Method
pop
(self)
Data Structures/Stack/Python/Infix_postfix.py:18
↓ 4 callers
Function
popd
Data Structures/Stack/C/PrefixtoInfixusingstack.c:12
↓ 4 callers
Function
postOrder
Data Structures/Tree/C++/Binary_tree_traversal.cpp:116
↓ 4 callers
Function
preOrder
Data Structures/Tree/C++/Binary_tree_traversal.cpp:94
↓ 4 callers
Function
print
A utility function to print grid */
Algorithms/Backtracking/C++/Sudoku Backtracking-7.cpp:9
↓ 4 callers
Method
printList
(Node node)
Algorithms/LinkedList/linkedlist.java:77
↓ 4 callers
Function
push
Data Structures/Reverse a link list using stack.cpp:16
↓ 4 callers
Function
push
Data Structures/Stack/C/Infix to Postfix Using Stack in C.c:11
↓ 4 callers
Function
remove
Gfg/C++/rangeQuery.cpp:44
↓ 4 callers
Method
remove
(Node head, Node fast, Node slow)
Gfg/Java/Delete_Loop_from_LL.java:141
↓ 4 callers
Function
reverse
(x)
Leetcode/Python/reverseInteger.py:3
↓ 4 callers
Function
rtrim
Hackerank/C++/Ice Cream Parlor.cpp:138
↓ 4 callers
Method
sort
(int [] nums)
Data Structures/Array/Java/Sortarray.java:3
↓ 4 callers
Function
sum
Codechef/C++/codechef_chfheist.cpp:6
↓ 4 callers
Function
swap
Hackerank/C/Permutations of Strings.c:5
↓ 4 callers
Function
swap
Data Structures/move_all_negative.cpp:15
↓ 4 callers
Function
visit
Data Structures/Tree/C++/Binary_tree_traversal.cpp:88
↓ 3 callers
Function
Divide
(a, b)
Gfg/Python/ugly_num.py:15
↓ 3 callers
Function
REP
Codechef/C++/Boolean Game (BOOLGAME).cpp:26
↓ 3 callers
Method
Union
Gfg/C++/Disjoint_set.cpp:93
↓ 3 callers
Method
appendNode
Data Structures/LinkedList/C++/Merge Point of Two Linked List.cpp:51
↓ 3 callers
Function
bubbleAuto
Algorithms/Searching and Sorting/C++/BubbleSort_Comparisons_Count.cpp:47
↓ 3 callers
Method
calDeterminant
(int A[][], int N)
Gfg/Main.java:121
↓ 3 callers
Function
count
Leetcode/C++/Target_Sum.cpp:11
↓ 3 callers
Function
display
Data Structures/LinkedList/C++/Split_LinkedList.cpp:79
↓ 3 callers
Method
dsunion
union method ----------------------------------------------------------------------------
Algorithms/Disjoint Set/C++/union_find_algorithm.cpp:97
↓ 3 callers
Function
fact
Hackerank/C++/Binomial Distribution 2.cpp:9
↓ 3 callers
Function
factorial
Leetcode/C/Pascal Triangle.c:3
↓ 3 callers
Function
factorial
(n)
Hackerank/Python/Binomial Distribution 1.py:2
↓ 3 callers
Function
findGCD
if the denominator is different then we have to find the GCD of the denominator */
Gfg/C++/Add two fractions.cpp:22
↓ 3 callers
Function
find_median
(arr)
Hackerank/Python/Quartiles.py:1
↓ 3 callers
Function
find_town
Hackerank/C/Post Transition.c:98
↓ 3 callers
Function
gcd
Codechef/C++/gcd.cpp:6
↓ 3 callers
Function
get
recursive function to create LinkedList to BST
Data Structures/LinkedList/C++/Sorted_LinkedList_to_BST.cpp:68
↓ 3 callers
Function
getmid
----------------------------------------------------------------------------------------getmid function----------- A utility function to get the middl
Data Structures/Tree/C++/segment_tree_implementation.cpp:42
↓ 3 callers
Function
height
Implement function to compute height of the tree
Data Structures/Tree/C++/Binary Tree.cpp:53
↓ 3 callers
Function
height
Tree node structure used in the program struct Node { int data; struct Node* left; struct Node* right; Node(int x){ data
Gfg/C++/Height of Binary Tree.cpp:14
↓ 3 callers
Function
helper
Gfg/C++/largest_BST.cpp:29
↓ 3 callers
Function
inputList
{ Driver Code Starts
Gfg/C++/Intersection_Point_in_Y_Shapped_Linked_Lists.cpp:51
↓ 3 callers
Function
insert
Algorithms/Searching and Sorting/C++/InsertionSort_Comparisons_Count.cpp:5
↓ 3 callers
Method
isEmpty
Data Structures/QueueUsingLL.cpp:69
↓ 3 callers
Method
isSpaceChar
(int c)
Hackerank/Java/Strong-password.java:80
↓ 3 callers
Method
leftRotate
(Node node)
Data Structures/Tree/Java/AVL_Tree.java:127
↓ 3 callers
Function
ltrim
Hackerank/C++/Ice Cream Parlor.cpp:127
↓ 3 callers
Function
maxDivide
This function divides a by greatest divisible power of b
Algorithms/Dynamic Problems/C++/Ugly Number.cpp:12
↓ 3 callers
Function
maxDivide
Function that divides a by greatest divisble power of b */
Gfg/C++/uglynum.cpp:9
↓ 3 callers
Method
multiplyLineByInvKey
(int len)
Gfg/Main.java:102
↓ 3 callers
Method
multiplyLineByKey
(int len)
Gfg/Main.java:92
↓ 3 callers
Function
newNode
{ Driver Code starts Utility function to create a new Tree Node
Leetcode/C++/Path Sum III.cpp:48
↓ 3 callers
Function
newNode
Utility function to create a new Tree Node
Gfg/C++/top_View_of_Binary_Tree.cpp:70
↓ 3 callers
Function
newNode
{ Driver Code starts Utility function to create a new Tree Node
Gfg/C++/Diagonal Traversal of Binary Tree.cpp:55
↓ 3 callers
Function
normal_dist
Hackerank/C++/Normal Distribution 2.cpp:8
↓ 3 callers
Function
normal_dist
Hackerank/C++/Normal Distribution 1.cpp:15
↓ 3 callers
Method
ns
()
Hackerank/Java/Strong-password.java:86
↓ 3 callers
Function
num
Hackerank/C++/Counting Sundays.cpp:15
↓ 3 callers
Method
peek
()
Data Structures/Stack/Java/Stack_Using_LinkedList.java:44
↓ 3 callers
Method
pop
()
Data Structures/Stack/Java/Stack_Using_LinkedList.java:24
↓ 3 callers
Method
printList
(Node node)
Algorithms/LinkedList/singlyll.java:74
↓ 3 callers
Method
printList
(Node head)
Gfg/add two number by linked list.java:86
↓ 3 callers
Function
readline
Hackerank/C/Delete-Duplicate-Value-Node-From-Sorted-LinkedList.c:177
↓ 3 callers
Function
reverse
here we are creating a function called reverse
Algorithms/rotate90.cpp:15
↓ 3 callers
Method
reverse
(int[] a,int li,int ri)
Data Structures/Array/Java/Rotation_of_Array_by_Kelements.java:16
↓ 3 callers
Method
rightRotate
(Node node)
Data Structures/Tree/Java/AVL_Tree.java:112
↓ 3 callers
Function
rtrim
Hackerank/C++/Bill Division.cpp:102
↓ 3 callers
Function
rtrim
Hackerank/C++/New Year Chaos.cpp:89
↓ 3 callers
Function
rtrim
Hackerank/C++/Angry Professor.cpp:111
↓ 3 callers
Method
search
Data Structures/Array/C++/ChainHashing.cpp:23
↓ 3 callers
Function
selectionAuto
Algorithms/Searching and Sorting/C++/SelectionSort_Comparisons_Count.cpp:46
↓ 3 callers
Function
show
DISPLAY LIST
Data Structures/LinkedList/C++/merge_ll.cpp:41
↓ 3 callers
Method
size
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:82
↓ 3 callers
Method
size
()
Data Structures/Stack/Java/Stack_Using_LinkedList.java:33
↓ 3 callers
Function
solve
Leetcode/C++/Parata-roti.cpp:4
↓ 3 callers
Function
swap
Utility function to swap two digits
Leetcode/C++/next_permutations.cpp:8
↓ 3 callers
Function
traverse
Data Structures/Stack/C/array implementation of stack.c:46
↓ 3 callers
Function
validation
Gfg/C++/clone_linked_list_with_next_and_random_pointer.cpp:111
↓ 2 callers
Function
Display
Gfg/C/move_negative_element_to_one_side.c:7
↓ 2 callers
Method
FindHead
Data Structures/LinkedList/C++/Merge Point of Two Linked List.cpp:84
↓ 2 callers
Function
Heapify
To place the element at idx to its right position
Algorithms/Searching and Sorting/C++/Heap Sort.cpp:5
↓ 2 callers
Method
Search
Algorithms/Hashing Techniques/Chaining.cpp:76
↓ 2 callers
Method
Search
Data Structures/Array/C++/Hashing_with_arrays.cpp:59
↓ 2 callers
Function
add
Function to update the value at given i index */
Data Structures/FenwickTree.c:26
↓ 2 callers
Function
add
Function to update the value at given i index */
Data Structures/Tree/C/FenwickTree.c:26
↓ 2 callers
Function
add
Gfg/C++/rangeQuery.cpp:22
↓ 2 callers
Method
addToTheLast
(Node node)
Gfg/Java/Find_Nth_Node_From_End_of_LL.java:63
↓ 2 callers
Function
append
Gfg/C++/clone_linked_list_with_next_and_random_pointer.cpp:101
↓ 2 callers
Function
binary
for keeping count of comparisons
Algorithms/Searching and Sorting/C++/BinarySearch_Comparisons_Count.cpp:5
↓ 2 callers
Method
binarySearch
(int[] search, int find)
Data Structures/BinarySearch.java:45
↓ 2 callers
Function
binomial
Hackerank/C++/Binomial Distribution 2.cpp:20
↓ 2 callers
Function
bubble_sort
Bubble sort for sorting characters of string in ascending order
Gfg/C/Anagaram.c:16
↓ 2 callers
Function
buildList
Gfg/C++/Add two numbers represented by linked lists.cpp:27
↓ 2 callers
Function
buildTree
Function to Build Tree
Gfg/C++/merge_BST.cpp:157
↓ 2 callers
Function
build_rank
Hackerank/C++/Spearman's Rank Correlation.cpp:14
← previous
next →
101–200 of 2,762, ranked by callers