Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ functions
Functions
2,714 in github.com/codemistic/Data-Structures-and-Algorithms
⨍
Functions
2,714
◇
Types & classes
687
↓ 1 callers
Method
partition
(int i, int j, int[] arr, int[][] dp)
Java/Matrix/MatrixChainMultiplication.java:14
↓ 1 callers
Method
partition
(int arr[], int low, int high)
Java/SortingTechniques/QuickSortArray.java:24
↓ 1 callers
Function
partition_r
Generates Random Pivot, swaps pivot with end element
CPP/sorting/randomised_quicksort.cpp:31
↓ 1 callers
Method
pattern
(int n)
Java/Recursion/Repeat_Pattern.java:4
↓ 1 callers
Method
pattern2
(int n)
Java/PatternQuestions/Question1.java:8
↓ 1 callers
Method
pattern2
(int n)
Java/PatternQuestions/Question2.java:10
↓ 1 callers
Method
pattern3
(int n)
Java/PatternQuestions/Question3.java:7
↓ 1 callers
Method
peakIndex
(int[] arr)
Java/Leetcode/Leetcode1095.java:13
↓ 1 callers
Method
peakIndex
(int[] arr)
Java/Leetcode/Leetcode852.java:9
↓ 1 callers
Method
peakIndexInMountainArray
(int[] arr)
Leetcode-solutions/Binary-search/PeakIndex.java:7
↓ 1 callers
Function
peek
Stack/stack_implementation_using_array.c:44
↓ 1 callers
Method
pendown
Pull the pen down -- drawing when moving. Aliases: pendown | pd | down No argument. Example (for a Turtle instance named tu
Python/Turtle.py:2008
↓ 1 callers
Function
perfectnumber
CPP/questions/perfectnumber.cpp:4
↓ 1 callers
Method
permutation
(String s, int index)
Java/Recursion/Permutation.java:11
↓ 1 callers
Function
pivotIndex
CPP/recursion/pivotArray.cpp:5
↓ 1 callers
Function
place
function to place a key in one of its possible positions * tableID: table in which key has to be placed, also equal to function according to which key
Hashtable/cuckoo-hashing.cpp:48
↓ 1 callers
Function
play
CPP/Problems/maze_game.c:174
↓ 1 callers
Method
pop
(self)
Python/stack using linked list.py:36
↓ 1 callers
Method
pos
Return the turtle's current location (x,y), as a Vec2D-vector. Aliases: pos | position No arguments. Example (for a Turtle
Python/Turtle.py:1600
↓ 1 callers
Function
positionfromfirst
CPP/LINKED LIST/DOUBLY LINKED LIST/removenthnode.cpp:93
↓ 1 callers
Function
postOrder
Trees/binarytreetraversal.c:31
↓ 1 callers
Function
power
CPP/LINKED LIST/CIRCULAR LINKED LIST/test.cpp:5
↓ 1 callers
Function
power
(base,exp)
Python/5 recusrion problems.py:62
↓ 1 callers
Method
power
(int N, int x)
Java/Recursion/Smallest_power_of_x_less_than_equal_to_N.java:4
↓ 1 callers
Function
power_it
CPP/LINKED LIST/SINGLY LINKED LIST/Maths For DSA/powerfunc.cpp:13
↓ 1 callers
Function
preOrder
Trees/binarytreetraversal.c:41
↓ 1 callers
Function
prefix_sum
CPP/array-2d/prefix_sum.cpp:3
↓ 1 callers
Function
preprocess
Trees/LCA.cpp:44
↓ 1 callers
Function
prims_algo1
this algo is without using priority queue
graph/code14.cpp:21
↓ 1 callers
Function
prims_algo2
graph/code14.cpp:91
↓ 1 callers
Function
print
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle.cpp:22
↓ 1 callers
Function
print
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle_practice.cpp:47
↓ 1 callers
Function
print
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/detectloop.cpp:22
↓ 1 callers
Function
print
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/reverseklinked.cpp:58
↓ 1 callers
Function
print
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/leetcode_82.cpp:30
↓ 1 callers
Function
print
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/removedup.cpp:30
↓ 1 callers
Function
print
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/merge_two_linked.cpp:23
↓ 1 callers
Function
print
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/leet_code_82.cpp:33
↓ 1 callers
Function
print
CPP/LINKED LIST/SINGLY LINKED LIST/leetcode25.cpp:20
↓ 1 callers
Function
print
CPP/LINKED LIST/SINGLY LINKED LIST/Maths For DSA/merge_two_linkedlist.cpp:15
↓ 1 callers
Function
print
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlist.cpp:33
↓ 1 callers
Function
print
CPP/LINKED LIST/DOUBLY LINKED LIST/middleoflinkedlist.cpp:40
↓ 1 callers
Function
print
CPP/LINKED LIST/CIRCULAR LINKED LIST/reverse_linkedlist.cpp:33
↓ 1 callers
Function
print
CPP/array-2d/rodate_array.cpp:23
↓ 1 callers
Function
print
CPP/recursion/print_n_times.cpp:8
↓ 1 callers
Function
print
CPP/recursion/sum_of_subset.cpp:28
↓ 1 callers
Method
print
(int arr[], int n)
Java/RadixSort.java:64
↓ 1 callers
Function
printAllDups
(root)
Hashtable/Find-All-Duplicate-Subtrees.py:38
↓ 1 callers
Function
printAllPrime
CPP/Maths/seiveOfEratothenes.cpp:4
↓ 1 callers
Function
printArray
A utility function to print an array of size n
CPP/sorting/Recursive Insertion Sort.cpp:33
↓ 1 callers
Function
printArray
Prints the array */
CPP/sorting/Cocktail Sort.cpp:56
↓ 1 callers
Function
printArray
Print an array
CPP/sorting/radix_sort.cpp:53
↓ 1 callers
Function
printArray
Function to print an array */
CPP/sorting/quicksort.cpp:56
↓ 1 callers
Method
printArray
(int [] arr3)
Java/Array/SumOfTwoArrays.java:64
↓ 1 callers
Method
printArray
(int[] arr1)
Java/Array/ArrangeNumberInArray.java:41
↓ 1 callers
Method
printArray
(int[] arr1)
Java/Array/SwapAlternate.java:43
↓ 1 callers
Method
printArray
(int [] arr)
Java/Array/SelectionSort.java:44
↓ 1 callers
Method
printArray
(int [] arr)
Java/Array/PushZeroEnd.java:58
↓ 1 callers
Method
printArray
(int [] arr)
Java/Array/BubbleSort.java:47
↓ 1 callers
Method
printArray
(int [] arr)
Java/Array/InsertionSort.java:71
↓ 1 callers
Method
printArray
(int [] arr)
Java/Array/Sort012.java:93
↓ 1 callers
Method
printArray
(int [] arr)
Java/Array/MergeTwoSortedArrays.java:107
↓ 1 callers
Method
printArray
(int arr[])
Java/SortingTechniques/SelectionSort.java:27
↓ 1 callers
Function
printBoard
Function to print the bord
CPP/recursion/N_Queens/N_Queens.cpp:5
↓ 1 callers
Method
printList
(self)
Python/Flattening of a linked list/solution.py:34
↓ 1 callers
Method
printList
(LinkedList list)
Java/LinkedList/Linked-List-Implementation.java:44
↓ 1 callers
Function
printNodes
(node, val='')
Python/HuffmanCodingAlgo.py:19
↓ 1 callers
Function
printTable
function to print hash table contents */
Hashtable/cuckoo-hashing.cpp:85
↓ 1 callers
Method
print_LL
(self)
CPP/LinkedList/all_singly_linkedlist.py:12
↓ 1 callers
Function
print_solution
(distance)
Python/floyd_warshal.py:23
↓ 1 callers
Function
print_vec
Function to print solved sudoku.
CPP/recursion/Classic_Sudoke_Solver/Sudoku_Solver.cpp:17
↓ 1 callers
Function
printarr
CPP/array-2d/inpout.cpp:8
↓ 1 callers
Function
printarray1
CPP/sorting/countingsort.cpp:30
↓ 1 callers
Function
printlevelwise
CPP/binarytreeuse.cpp:29
↓ 1 callers
Function
printnode
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlistpractice.cpp:66
↓ 1 callers
Method
product
(int[] arr)
Java/Leetcode/Leetcode628.java:10
↓ 1 callers
Method
pushZero
(int [] arr)
Java/Array/PushZeroEnd.java:65
↓ 1 callers
Function
pushin
pushin function to insert elements at correct position
Java/Stack/reverseasttring.cpp:6
↓ 1 callers
Method
query
(self,ind,low,high,l,r)
Python/SegmentTree.py:27
↓ 1 callers
Function
queryResults
A Function to answer the Queries
Hashtable/Palindrome-Substring-Queries.cpp:94
↓ 1 callers
Function
quickSort
Quicksort method
CPP/sorting/randomised_quicksort.cpp:43
↓ 1 callers
Function
quickSort
The main function that implements QuickSort arr[] --> Array to be sorted, low --> Starting index, high --> Ending index */
CPP/sorting/quicksort.cpp:41
↓ 1 callers
Method
quickSort
(int arr[], int low, int high)
Java/SortingTechniques/QuickSortArray.java:15
↓ 1 callers
Function
quicksort
(array)
Python/Sorting-Techniques/quick-sort.py:1
↓ 1 callers
Function
rRot
Left Rotation Function
Arrays/31_Menu_for_Array.c:387
↓ 1 callers
Function
rShift
Right Shift Function
Arrays/31_Menu_for_Array.c:355
↓ 1 callers
Function
rabin_karp
Rabin-Karp Algorithm for substring search. Parameters: text (str): The main text where the pattern is to be searched. patte
Rabin-Karp.py:1
↓ 1 callers
Function
radixSort
(inputArray)
Python/radix_sort.py:31
↓ 1 callers
Function
radixsort
Main function to implement radix sort
CPP/sorting/radix_sort.cpp:43
↓ 1 callers
Method
radixsort
(int arr[], int n)
Java/RadixSort.java:51
↓ 1 callers
Method
radixsort
(int[] arr, int n)
Java/SortingTechniques/RadixSort.java:29
↓ 1 callers
Function
randPartition
Quicksort randomized partition to rearrange elements across pivot
CPP/sorting/intro_sort.cpp:62
↓ 1 callers
Function
read_docstrings
Read in docstrings from lang-specific docstring dictionary. Transfer docstrings, translated to lang, from a dictionary-file to the methods of
Python/Turtle.py:3753
↓ 1 callers
Function
readconfig
Read config-files, change configuration-dict accordingly. If there is a turtle.cfg file in the current working directory, read it from there.
Python/Turtle.py:98
↓ 1 callers
Method
rec
(int N)
Java/Recursion/one_to_N.java:4
↓ 1 callers
Method
rec
(int N)
Java/Recursion/N_to_1.java:4
↓ 1 callers
Method
rec_sum
(int n)
Java/Recursion/Sum_Of_Digits.java:4
↓ 1 callers
Function
recaman
(n)
Hashtable/Recaman’s-sequence.py:6
↓ 1 callers
Method
recur
(List<List<Integer>> tri, int i, int j)
Dynamic Programming/triangle.java:11
↓ 1 callers
Method
recur
(List<List<Integer>> tri, int i, int j)
Dynamic Programming/triangle.java:33
← previous
next →
1,001–1,100 of 2,714, ranked by callers