MCPcopy Create free account

hub / github.com/codemistic/Data-Structures-and-Algorithms / functions

Functions2,714 in github.com/codemistic/Data-Structures-and-Algorithms

↓ 1 callersFunctionhashtable
(mylist)
Python/hashtables/firstRecurringnum.py:11
↓ 1 callersMethodheading
Return the turtle's current heading. No arguments. Example (for a Turtle instance named turtle): >>> turtle.left(67)
Python/Turtle.py:1794
↓ 1 callersFunctionheapSort
Function to implement the heap sort*/
CPP/sorting/heap_sort.cpp:27
↓ 1 callersFunctionheapSort
(customList)
Python/all sorting methods.py:162
↓ 1 callersFunctionheapSort
(arr)
Python/Sorting-Techniques/heapSort.py:17
↓ 1 callersFunctionheapsort
Function to perform heapsort on the given range of elements
CPP/sorting/intro_sort.cpp:75
↓ 1 callersFunctionhehe
CPP/recursion/1toN.cpp:8
↓ 1 callersFunctionhehehe
CPP/recursion/firstNsum.cpp:9
↓ 1 callersFunctionhehehe
CPP/recursion/factorial.cpp:9
↓ 1 callersFunctionheight
Function to find height of a tree */
CPP/Trees/Diameter_of_tree.cpp:12
↓ 1 callersFunctionhelper
CPP/array-2d/CycleDetection.cpp:6
↓ 1 callersFunctionhelper
CPP/Dynamic Programming/Minimum_Digit_Delete.cpp:11
↓ 1 callersFunctionhelper
Time: O(n*k*logn), Space: O(n*k)
CPP/Dynamic Programming/Egg_Drop.cpp:6
↓ 1 callersMethodhelper
(self,s,mp)
Python/decodeWays.py:11
↓ 1 callersMethodhelper
(int num1, int num2, int count)
Java/CountOperationsToObtainZero.java:12
↓ 1 callersMethodhideturtle
Makes the turtle invisible. Aliases: hideturtle | ht No argument. It's a good idea to do this while you're in the m
Python/Turtle.py:2207
↓ 1 callersMethodhighest
(String str)
Java/String/HighestOccuringCharacter.java:9
↓ 1 callersFunctioninOrder
Trees/binarytreetraversal.c:51
↓ 1 callersFunctioninc
the code will go towards base case
CPP/recursion/rec_direction.cpp:17
↓ 1 callersMethodinfixToPostFix
(String expression)
Java/Stack/InfixToPostfix/InfixToPostfix_byManik.java:19
↓ 1 callersFunctioninitCharStack
CPP/Trees/Expression_tree/Stack.c:51
↓ 1 callersFunctioninitStack
CPP/Trees/Expression_tree/Stack.c:5
↓ 1 callersFunctioninitTable
function to fill hash table with dummy value * dummy value: INT_MIN * number of hashtables: ver */
Hashtable/cuckoo-hashing.cpp:21
↓ 1 callersFunctioninitTree
CPP/Trees/Expression_tree/BST.c:115
↓ 1 callersFunctioninitial
CPP/array-2d/brute_force.cpp:20
↓ 1 callersFunctioninitial
CPP/array-2d/prefix_sum.cpp:19
↓ 1 callersFunctioninitial
CPP/array-2d/reverse_array.cpp:13
↓ 1 callersFunctioninitial
CPP/searching/binary_search.cpp:21
↓ 1 callersFunctioninitial
CPP/searching/linear_search.cpp:12
↓ 1 callersFunctioninorder
CPP/Trees/RecoverBinarySearchTree.cpp:5
↓ 1 callersFunctioninorder
CPP/BST/InsertionInABST.cpp:17
↓ 1 callersFunctioninorder
(node, m)
Hashtable/Find-All-Duplicate-Subtrees.py:12
↓ 1 callersFunctioninsert
CPP/BST/InsertionInABST.cpp:41
↓ 1 callersMethodinsertAt
(element, index)
DSA Javascript/linked_list.js:45
↓ 1 callersMethodinsertEdge
(int v, int w)
Java/BfsTraversal.java:18
↓ 1 callersMethodinsertEdge
(int src, int dest)
Java/DFSTraversal.java:18
↓ 1 callersFunctioninsertTrie
CPP/Tries/autoComplete.cpp:35
↓ 1 callersFunctioninsertathead
CPP/LINKED LIST/SINGLY LINKED LIST/Maths For DSA/merge_two_linkedlist.cpp:24
↓ 1 callersFunctioninsertatposition
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlistF.cpp:108
↓ 1 callersFunctioninsertatposition
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlistpractice.cpp:33
↓ 1 callersFunctioninsertatposition
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlist.cpp:57
↓ 1 callersFunctioninsertatpositon
CPP/LINKED LIST/DOUBLY LINKED LIST/doublyreverselinked.cpp:52
↓ 1 callersFunctioninsertion
Trees/binarytreetraversal.c:22
↓ 1 callersMethodinsertion
(int arr[])
Java/Array/FindGreatestCommonDivisorOfArray.java:37
↓ 1 callersFunctioninsertionSort
(customList)
Python/all sorting methods.py:28
↓ 1 callersFunctioninsertionSortRecursive
Recursive function to sort an array using insertion sort
CPP/sorting/Recursive Insertion Sort.cpp:7
↓ 1 callersFunctioninsertion_sort
CPP/sorting/insertionsort.cpp:3
↓ 1 callersFunctioninsertionsort
Function to perform insertion sort on subarray `a[low…high]`
CPP/sorting/intro_sort.cpp:8
↓ 1 callersMethodinsertionsort
CPP/DS C++/Insertion and Quick sort on Arraylist.cpp:27
↓ 1 callersFunctioninside
Return True if head inside boundaries.
Python/snake.py:25
↓ 1 callersFunctioninterpolationSearch
CPP/searching/interpolation_search.cpp:35
↓ 1 callersFunctioninterpolationSearch
(arr, lo, hi, x)
Python/Searching-Algorithms/interpolation_search.py:10
↓ 1 callersMethodinterpret
(String command)
Java/Leetcode/Leetcode1678.java:10
↓ 1 callersFunctionintrosort
Function to perform introsort on the given array
CPP/sorting/intro_sort.cpp:82
↓ 1 callersFunctionisAlNum
CPP/Trees/Expression_tree/BST.c:41
↓ 1 callersFunctionisAnExponentOfTwo
CPP/OptimizedExponentOfTwoCheck.cpp:4
↓ 1 callersMethodisBalanced
(String expression)
Java/Stack/BalancedBrackets.java:6
↓ 1 callersFunctionisBipartite
Returns true if G[][] is Bipartite, else false
CPP/graph_tree/Check for bipertite.cpp:56
↓ 1 callersFunctionisBipartiteUtil
This function returns true if graph G[V][V] is Bipartite, else false
CPP/graph_tree/Check for bipertite.cpp:11
↓ 1 callersMethodisCycle
(int V, ArrayList<ArrayList<Integer>> adj)
graph/cycledetectionInUndirectedGraph.java:9
↓ 1 callersMethodisCyclic
CPP/graph_tree/Detect a cycle in a graph.cpp:41
↓ 1 callersFunctionisEmpty
Stack/stack_implementation_using_array.c:52
↓ 1 callersMethodisEmpty
stack emptly check function
CPP/structures/stack using linked list.cpp:61
↓ 1 callersMethodisFull
(self)
Python/circular queue.py:17
↓ 1 callersMethodisFull
(self,stacknum)
Python/DIVIDE THE LIST INTO THREE STACKS.py:10
↓ 1 callersMethodisInBox
(int row, int col, int number)
Java/SODUKO-SOLVER/soduko-solver.java:51
↓ 1 callersMethodisInCol
(int col, int number)
Java/SODUKO-SOLVER/soduko-solver.java:42
↓ 1 callersMethodisInRow
(int row, int number)
Java/SODUKO-SOLVER/soduko-solver.java:33
↓ 1 callersMethodisNotB
(char bracket)
Java/Stack/BalancedBrackets.java:20
↓ 1 callersMethodisOk
(int row, int col, int number)
Java/SODUKO-SOLVER/soduko-solver.java:64
↓ 1 callersMethodisOpeningB
(char bracket)
Java/Stack/BalancedBrackets.java:23
↓ 1 callersMethodisOverlap
(int minS, int maxE, Interval i)
LeetCode Solutions/merge interval.java:50
↓ 1 callersFunctionisPalindrome
CPP/char array/checkpali.cpp:8
↓ 1 callersFunctionisPalindrome
CPP/recursion/is_pali.cpp:8
↓ 1 callersFunctionisPalindrome
A function to check if a string str is palindrome in the range L to R
Hashtable/Palindrome-Substring-Queries.cpp:18
↓ 1 callersFunctionisPalindrome
(strng)
Python/5 recusrion problems.py:33
↓ 1 callersFunctionisPalindrome
(s)
Python/palindrome.py:3
↓ 1 callersMethodisPerfectSquare
(int num)
Leetcode-solutions/Binary-search/ValidPerfectSquare.java:7
↓ 1 callersMethodisPotentialK
(int[][] matrix, int m, int k)
Leetcode-solutions/Binary-search/kthSmallestInMatrix.java:28
↓ 1 callersMethodisPotentialK
(int potential, int m, int n, int k)
Leetcode-solutions/Binary-search/KthSmallestMultiplicationTable.java:25
↓ 1 callersMethodisPotentialLargestSum
(int estimatedLargest, int[] nums, int piecesAsked)
Leetcode-solutions/Binary-search/SplitArray.java:29
↓ 1 callersFunctionisPrime
CPP/Maths/primeNo.cpp:4
↓ 1 callersFunctionisSubset
CPP/searching/binary_search2.cpp:24
↓ 1 callersMethodisValid
(List<String> list, int row, int column, int n)
Java/LeetCodeN-Queens.java:35
↓ 1 callersFunctionis_leaf
Trees/Binary_tree_Array.c:69
↓ 1 callersFunctionis_operator
CPP/Trees/Expression_tree/BST.c:15
↓ 1 callersFunctionis_plaind
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/test5.cpp:6
↓ 1 callersFunctionis_prime
(n)
Python/CheckForPrime.py:6
↓ 1 callersFunctionis_safe
CSES/Intro/CheesboardAndQueens.cc:8
↓ 1 callersMethodispali
(String str)
Java/String/StringPalindrome.java:16
↓ 1 callersFunctionissorted
CPP/recursion/is_sorted.cpp:8
↓ 1 callersFunctionjumpSearch
( arr , x , n )
Python/Searching-Algorithms/Jump_search.py:6
↓ 1 callersFunctionkadane
CPP/array-2d/kadane_algo.cpp:3
↓ 1 callersMethodknap
(int[] wt, int[] val, int W, int n)
knapsack.java:4
↓ 1 callersFunctionknapSack
this fuction returns the maximum value that can be put in a knapsack of capacity W
CPP/recursion/0-1 Knapsack.cpp:6
↓ 1 callersFunctionknapsack
CPP/Dynamic Programming/0-1_Knapsack.cpp:5
↓ 1 callersFunctionkosaraju
graph/code18.cpp:71
↓ 1 callersFunctionkruskal
graph/code15.cpp:65
↓ 1 callersMethodkruskal_algo
(self)
Python/Kruskal's_Algorithm.py:31
↓ 1 callersMethodkruskals_mst
CPP/Kruskal's_Algorithm.cpp:63
← previousnext →801–900 of 2,714, ranked by callers