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 callersFunctionhourglassSum
(arr)
Data Structures/Array/Python/2D Array.py:8
↓ 1 callersFunctionhuffmanEncode
Gfg/C++/Huffman Encoding.cpp:36
↓ 1 callersMethodhuffmanencode
(Node root,String res)
Gfg/Java/Huffman Encoding.java:51
↓ 1 callersFunctionhurdleRace
Hackerank/C++/The Hurdle Race.cpp:53
↓ 1 callersFunctionicecreamParlor
Hackerank/C++/Ice Cream Parlor.cpp:57
↓ 1 callersMethodinOrder
Data Structures/Tree/Tree_Traversal.cpp:130
↓ 1 callersMethodinOrder
(Node node)
Data Structures/Tree/Java/AVL_Tree.java:27
↓ 1 callersFunctionin_range
Codechef/C++/Dense Graph (DENSEGRP).cpp:6
↓ 1 callersMethodindex
(String second, String first, int q)
Algorithms/Miscellaneous/Java/Rabin-Karp Algo.java:7
↓ 1 callersFunctioninfixToPostfix
Data Structures/Stack/C/Infix to Postfix Using Stack in C.c:73
↓ 1 callersMethodinfix_postfix
(self,exp)
Data Structures/Stack/Python/Infix_postfix.py:46
↓ 1 callersFunctioninit_fw_tree
Function to implement the Fenwick Tree */
Data Structures/FenwickTree.c:36
↓ 1 callersFunctioninit_fw_tree
Function to implement the Fenwick Tree */
Data Structures/Tree/C/FenwickTree.c:36
↓ 1 callersFunctioninorder
to sort-inorder traversal gives sorted list
Algorithms/Searching and Sorting/C++/BST Sort.cpp:43
↓ 1 callersFunctioninorder
(root)
Data Structures/constructing a bst.py:11
↓ 1 callersFunctioninorder
(root)
Data Structures/Tree/BST.py:111
↓ 1 callersFunctioninorder
Function to find Inorder
Gfg/C++/normal_BST_to_Balanced_BST.cpp:28
↓ 1 callersMethodinorder
In-Order traversal Left Subtree -> Node -> Right Subtree
Data Structures/Tree/C++/Red Black Tree (Insertion and Deletion operation).cpp:286
↓ 1 callersFunctioninorderSuccessor
(node)
Data Structures/Tree/BST.py:64
↓ 1 callersFunctioninp
()
Codechef/Python/CyclicQuad.py:18
↓ 1 callersFunctioninput_1D_vector
Codechef/C++/mod-equality.cpp:55
↓ 1 callersFunctioninputarr
Algorithms/Searching and Sorting/C++/sorting.cpp:69
↓ 1 callersFunctioninsert
Algorithms/Dynamic Problems/k_arrayheap.cpp:87
↓ 1 callersFunctioninsert
Building the trie
Data Structures/Max_XOR_of_Two_Array.cpp:16
↓ 1 callersFunctioninsert
Data Structures/Tree/C++/Binary_Search_Tree.cpp:63
↓ 1 callersFunctioninsert
Gfg/C++/Delete_without_head_pointer.cpp:29
↓ 1 callersFunctioninsert
If not present, inserts key into trie If the key is prefix of trie node, just marks leaf node
Gfg/C++/trie-insert-and-search.cpp:34
↓ 1 callersMethodinsert
Data Structures/LinkedList/C++/Double_linked_list.cpp:49
↓ 1 callersMethodinsert
insert the key to the tree in its appropriate position and fix the tree
Data Structures/Tree/C++/Red Black Tree (Insertion and Deletion operation).cpp:396
↓ 1 callersMethodinsert
(int num)
Data Structures/Tree/Java/AVL_Tree.java:22
↓ 1 callersMethodinsertAfter
(Node prev_node, int data)
Algorithms/LinkedList/singlyll.java:22
↓ 1 callersMethodinsertAfter
(Node prev_node, int data)
Algorithms/LinkedList/linkedlist.java:25
↓ 1 callersMethodinsertAt
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:176
↓ 1 callersMethodinsertAt
Data Structures/LinkedList/C++/Doubly-Linked-List.cpp:173
↓ 1 callersMethodinsertAtHead
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:145
↓ 1 callersMethodinsertAtHead
Data Structures/LinkedList/C++/Doubly-Linked-List.cpp:143
↓ 1 callersMethodinsertAtTail
Data Structures/LinkedList/C++/Doubly-Linked-List2.cpp:161
↓ 1 callersMethodinsertAtTail
Data Structures/LinkedList/C++/Doubly-Linked-List.cpp:158
↓ 1 callersMethodinsertData
(int data)
Data Structures/Stack/Java/Min_Element_In_Stack.java:11
↓ 1 callersFunctioninsertIntoTree
to insert a node into BST
Algorithms/Searching and Sorting/C++/BST Sort.cpp:15
↓ 1 callersFunctioninsert_begin
Data Structures/LinkedList/C/Operations_on_linkedlist.c:156
↓ 1 callersMethodinsert_begin
Inserting element in beginning
Data Structures/LinkedList/C++/SinglyLinkedList.cpp:136
↓ 1 callersFunctioninsert_end
Data Structures/LinkedList/C/Operations_on_linkedlist.c:178
↓ 1 callersMethodinsert_last
Inserting Node at last
Data Structures/LinkedList/C++/SinglyLinkedList.cpp:158
↓ 1 callersMethodinsert_node
Hackerank/C++/Reverse a Doubly Linked List.cpp:29
↓ 1 callersFunctioninsert_node_into_singly_linked_list
Hackerank/C/Delete-Duplicate-Value-Node-From-Sorted-LinkedList.c:40
↓ 1 callersFunctioninsert_pos
Data Structures/LinkedList/C/Operations_on_linkedlist.c:204
↓ 1 callersMethodinsert_pos
Insertion of node at a given position
Data Structures/LinkedList/C++/SinglyLinkedList.cpp:176
↓ 1 callersMethodinsert_tree
Data Structures/Tree/Tree_Traversal.cpp:79
↓ 1 callersFunctioninsertionSort
(b)
Algorithms/Searching and Sorting/Python/Bucket_Sort.py:2
↓ 1 callersFunctioninsertionSort
Function to sort an array using insertion sort*/
Algorithms/Searching and Sorting/C++/Insertion Sort.cpp:6
↓ 1 callersFunctioninsertionSort
Function to sort an array a[] of size 'n'
Algorithms/Searching and Sorting/C++/Binary Insertion Sort.cpp:29
↓ 1 callersFunctioninsertionSort
sorting using insertion sort
Algorithms/Searching and Sorting/C++/Binary_Insertion_Sort.cpp:27
↓ 1 callersMethodinsertionSort
()
Algorithms/Searching and Sorting/Java/ArrayInsertsort.java:30
↓ 1 callersMethodinsertionSort
Gfg/C++/SinglyLinkedListInsertionSort.cpp:35
↓ 1 callersMethodinsertion_sort
(Vector<Float> Array)
Algorithms/Bucket_Sort_JAVA.java:5
↓ 1 callersMethodintToRoman
Leetcode/C++/IntToRoman.cpp:49
↓ 1 callersFunctioninterpolationSearch
If the searching element is present it will return its index, else it will return -1.
Algorithms/Searching and Sorting/C++/Interpolation.cpp:5
↓ 1 callersFunctioninterpolationSearch
If x is present in arr[0..n-1], then returns index of it, else returns -1.
Algorithms/Searching and Sorting/C++/interpolationSearch.cpp:6
↓ 1 callersFunctioninterpolationSearch
(arr,k)
Gfg/Python/InterpolationSearch.py:4
↓ 1 callersFunctioninterpolation_search
Algorithms/Searching and Sorting/C/InterpolationSearch.c:7
↓ 1 callersFunctionintersectPoint
Function to find intersection point in Y shaped Linked Lists.
Gfg/C++/Intersection_Point_in_Y_Shapped_Linked_Lists.cpp:27
↓ 1 callersMethodintersectionOfSortedArray
(int firstArray[], int secondArray[], int n, int m)
Data Structures/Array/Java/intersection.java:12
↓ 1 callersFunctionintostack
Data Structures/Reverse a link list using stack.cpp:22
↓ 1 callersFunctioninverse
Algorithms/Miscellaneous/C++/Chinese_Remainder_Theorem.cpp:12
↓ 1 callersMethodinversionCount
Gfg/C++/Count Inversions.cpp:41
↓ 1 callersFunctionisBalanced
Hackerank/C++/Balanced Brackets.cpp:49
↓ 1 callersMethodisBridge
Function to find if the given edge is a bridge in graph.
Gfg/C++/bridge_edge_in_graph.cpp:39
↓ 1 callersMethodisCycle
Data Structures/Graph/C++/Detect Cycle In Undirected Graph.cpp:36
↓ 1 callersMethodisCycle
Function to detect cycle in an undirected graph.
Gfg/C++/Detect cycle in an undirected graph.cpp:38
↓ 1 callersFunctionisDivisible
Codechef/C++/Divisibility Test (DIVTEST).cpp:9
↓ 1 callersMethodisEmpty
()
Data Structures/Stack/Java/Stack_Using_LinkedList.java:50
↓ 1 callersMethodisEmpty
()
Gfg/Java/Implementation of Stack.java:20
↓ 1 callersFunctionisFull
Queue is full when size becomes equal to the capacity
Gfg/C++/implementation Of Queue.cpp:31
↓ 1 callersMethodisLeap
(int year)
Hackerank/Java/Day-of-the-programmer.java:66
↓ 1 callersFunctionisLucky
Function to check a number is lucky or not
Hackerank/C++/lucky_number.cpp:60
↓ 1 callersFunctionisMajority
(A, cand)
Data Structures/MajorityElement.py:19
↓ 1 callersMethodisMatch
Leetcode/C++/Regular_Expression_Matching(hard).cpp:94
↓ 1 callersMethodisOperand
(self,ch)
Data Structures/Stack/Python/Infix_postfix.py:31
↓ 1 callersFunctionisOperator
(p)
Data Structures/Stack/Python/Prefixtoinfix.py:16
↓ 1 callersFunctionisPalindrome
(string: str, low: int, high: int)
Algorithms/Miscellaneous/Python/Palindromic_Partition.py:6
↓ 1 callersFunctionisPalindrome
A utility function to check if str is palindrome
Algorithms/Miscellaneous/C++/Palindromic_Partitions.cpp:6
↓ 1 callersFunctionisPalindrome
Function to check if given linked list is palindrome or not
Data Structures/LinkedList/C++/Pallindrome_Linked_List.cpp:17
↓ 1 callersMethodisPlaindrome
(String str)
Gfg/Java/Palindrome String.java:24
↓ 1 callersFunctionisPossible2
Codechef/C++/mod-equality.cpp:96
↓ 1 callersFunctionisPowerOfTwo
(x)
Algorithms/Miscellaneous/Python/power_of_2_(Bit_Manipulation).py:29
↓ 1 callersMethodisQueenSafe
(int[][] chess, int row, int col)
Algorithms/Backtracking/Java/NQueens.java:47
↓ 1 callersFunctionisSafe
( maze, x, y )
Algorithms/Backtracking/Python/ratInMaze.py:17
↓ 1 callersFunctionisSafe
Checks whether it will be legal to assign num to the given row, col
Algorithms/Backtracking/C++/Sudoku Backtracking-7.cpp:22
↓ 1 callersFunctionisSafe
Algorithms/Backtracking/C++/Rat in a Maze.cpp:3
↓ 1 callersFunctionisSafe
Algorithms/Backtracking/C++/n-queen.cpp:3
↓ 1 callersFunctionisSafe
Gfg/C++/M-Coloring Problem.cpp:7
↓ 1 callersFunctionisSafe
A utility function to check if a queen can be placed on board[row][col]. Note that this function is called when "col" queens are already placed in col
Gfg/C++/printing-solutions-n-queen-problem.cpp:14
↓ 1 callersMethodisSafeForQueen
(int[][] board, int row, int col)
Algorithms/Backtracking/Java/NQueenBacktracking.java:18
↓ 1 callersMethodisSafeForSudoku
(int[][] grid, int row, int col, int val)
Algorithms/Backtracking/Java/SudokuBacktracking.java:64
↓ 1 callersMethodisSubSequenceFound
(String str1, String str2)
Codeforces/Java/ChatRoom.java:15
↓ 1 callersMethodisTriangular
Gfg/C++/Triangular_Number.cpp:22
↓ 1 callersFunctionisUgly
Function to check if a number is ugly or not
Algorithms/Dynamic Problems/C++/Ugly Number.cpp:20
↓ 1 callersFunctionisUgly
Function to check if a number is ugly or not */
Gfg/C++/uglynum.cpp:17
↓ 1 callersMethodisValid
(int []arr,int n,int m,int max)
Gfg/Java/AllocateMinimumNumberOfPages.java:52
← previousnext →801–900 of 2,762, ranked by callers