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
kthElement
CPP/k_th_arrays.cpp:7
↓ 1 callers
Method
kthSmallest
(int[][] matrix, int k)
Leetcode-solutions/Binary-search/kthSmallestInMatrix.java:12
↓ 1 callers
Function
lRot
Left Rotation Function
Arrays/31_Menu_for_Array.c:370
↓ 1 callers
Function
lShift
Left Shift Function
Arrays/31_Menu_for_Array.c:340
↓ 1 callers
Method
largestRowColumn
(int [] [] arr2)
Java/Array/LargestRowColumn.java:57
↓ 1 callers
Method
largestcolsum
(int [] [] arr2)
Java/Array/LargestRowSum.java:11
↓ 1 callers
Method
largestcolsum
(int [] [] arr2)
Java/Array/LargestColSum.java:7
↓ 1 callers
Function
largestsubarray_sum
CPP/array-2d/brute_force.cpp:3
↓ 1 callers
Function
lastocc
CPP/searching/binary_search1.cpp:26
↓ 1 callers
Function
lcs
Dynamic Programming/longestCommonSubstring.cpp:14
↓ 1 callers
Function
lcsAlgo
CPP/Dynamic Programming/Longest_Common_Subsequence.cpp:4
↓ 1 callers
Function
leftPart
CPP/Problems/BitonicArray.cpp:27
↓ 1 callers
Method
leftRotate
(int[] arr, int d)
Java/Array/LeftRotateArrayByD.java:17
↓ 1 callers
Function
leftView
left view of tree.cpp:41
↓ 1 callers
Function
leftView
A wrapper over leftViewUtil()
CPP/Trees/left_view_of_binary_tree.cpp:64
↓ 1 callers
Function
leftViewUtil
left view of a binary tree.
left view of tree.cpp:22
↓ 1 callers
Function
leftViewUtil
Recursive function to print left view of a binary tree.
CPP/Trees/left_view_of_binary_tree.cpp:43
↓ 1 callers
Function
length
CPP/LINKED LIST/SINGLY LINKED LIST/leetcode25.cpp:29
↓ 1 callers
Function
length
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlisttpractice.cpp:47
↓ 1 callers
Function
length
CPP/LINKED LIST/DOUBLY LINKED LIST/middleoflinkedlist.cpp:80
↓ 1 callers
Method
length1
(LinkedList.Node<Integer> head)
Java/LinkedList/LengthOfLinkedList.java:32
↓ 1 callers
Function
lengthOfLIS
CPP/questions/Longest Increasing Subsequence(LIS).cpp:66
↓ 1 callers
Method
lengthOfLIS
(int[] nums)
Leetcode-solutions/Binary-search/LongestIncrSubSeq.java:9
↓ 1 callers
Function
librarySort
CPP/sorting/library_sort.cpp:4
↓ 1 callers
Function
linear
CPP/searching/linear_search.cpp:3
↓ 1 callers
Method
linear
CPP/DS C++/Linear Sort Search on Given Array List.cpp:19
↓ 1 callers
Method
linearSearch
(int[] arr, int target)
Java/SearchingAlgorithms/LinearSearch.java:22
↓ 1 callers
Method
linearSearch
(int[] arr, int x)
Java/Array/LinearSearch.java:47
↓ 1 callers
Function
linear_search
(l,key)
Python/Searching-Algorithms/linear-search.py:2
↓ 1 callers
Function
lis
(arr,i,n,dp)
Python/Dynamic_Programming/Longest_consecutive_subsequence.py:7
↓ 1 callers
Function
lis
(arr,n)
Python/Dynamic_Programming/Longest_subsequence_iterative.py:11
↓ 1 callers
Method
listen
Set focus on TurtleScreen (in order to collect key-events) No arguments. Dummy arguments are provided in order to be able to
Python/Turtle.py:1327
↓ 1 callers
Function
lookup
CPP/SPOJ_ADAFRIEN.cpp:7
↓ 1 callers
Method
lowerCase
(String s)
Java/Leetcode/Leetcode709.java:9
↓ 1 callers
Method
majority
(int nums[])
Java/Majority_Element.java:22
↓ 1 callers
Function
make_union
graph/code15.cpp:40
↓ 1 callers
Function
maxLengthSpaceOpt
space optimization approach */
CPP/questions/Longest Increasing Subsequence(LIS).cpp:48
↓ 1 callers
Method
maxSubArray
(int[] nums)
Leetcode-solutions/Binary-search/MaxSubArraySum.java:7
↓ 1 callers
Function
maxSubArraySum
This is the smallest code for kadanes algorithm
Dynamic Programming/Kadanes.cpp:5
↓ 1 callers
Function
maxSubArraySum
Dynamic Programming/Largest Sum Contiguous Subarray.cpp:6
↓ 1 callers
Function
max_arr
CPP/array-2d/max_array.cpp:22
↓ 1 callers
Function
max_circular_subarray
Kadane's Algorithm variation for circular arrays.
circular_kadne.py:11
↓ 1 callers
Function
maximum
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/Weights.cpp:3
↓ 1 callers
Function
maximumChocolates
Dynamic Programming/ninjaAndHisFriends.cpp:79
↓ 1 callers
Function
maximumNonAdjacentSum
Dynamic Programming/maximumNonAdjacentSum.cpp:8
↓ 1 callers
Method
maximumWealth
(int[][] accounts)
Java/Leetcode/Leetcode1672.java:9
↓ 1 callers
Function
maximum_sum_subarray
CPP/LINKED LIST/SINGLY LINKED LIST/Maths For DSA/Sliding Window Problem/subarraysum.cpp:6
↓ 1 callers
Function
maxones
CPP/arrays/Max_Consecutive_Ones.cpp:4
↓ 1 callers
Function
menu
main menu
Arrays/32_Operations_on_arrays.c:22
↓ 1 callers
Function
menu1
Arrays/32_Operations_on_arrays.c:33
↓ 1 callers
Function
merge
(customList, l, m, r)
Python/all sorting methods.py:75
↓ 1 callers
Method
merge
(self, a, b)
Python/Flattening of a linked list/solution.py:44
↓ 1 callers
Method
merge
(String w1,String w2)
Java/Leetcode/Leetcode1768.java:10
↓ 1 callers
Method
merge
(int[][] buildings, int lo, int hi)
Java/Leetcode/LeetcodeTheSkylineProblem.java:6
↓ 1 callers
Method
merge
(int arr[], int s, int e)
Java/SortingTechniques/MergeSortArray.java:34
↓ 1 callers
Method
mergeArray
(int [] arr1, int [] arr2)
Java/Array/MergeTwoSortedArrays.java:79
↓ 1 callers
Method
merge_sky
(self, left_skyline, right_skyline)
Python/skyline.py:16
↓ 1 callers
Function
mergesort
CPP/sorting/merge_sort.cpp:51
↓ 1 callers
Method
mergsort
(int arr[],int s, int e)
Java/SortingTechniques/MergeSortArray.java:18
↓ 1 callers
Method
minCost
(String colors, int[] neededTime)
Java/MinimumTimeToColorRope.java:16
↓ 1 callers
Function
minCutFrom
CPP/Dynamic Programming/Palindrome Partitioning II.cpp:11
↓ 1 callers
Method
minEatingSpeed
(int[] piles, int h)
Leetcode-solutions/Binary-search/KoKoEatingBanana.java:7
↓ 1 callers
Method
minJumps
CPP/Problems/minimumNumberOfJump.cpp:52
↓ 1 callers
Method
minPoints
CPP/Dynamic Programming/minimumPointsToReachDestination.cpp:63
↓ 1 callers
Function
minRange
(arr, n, k)
Hashtable/Smallest-subarray-with-k-distinct-numbers.py:6
↓ 1 callers
Method
minSubArrLength
(int target, int[] nums)
Leetcode-solutions/Binary-search/MinSizeSubArrSum.java:8
↓ 1 callers
Method
minTime
Trees/burningTree.cpp:150
↓ 1 callers
Function
minValueNode
Trees/avltree.c:119
↓ 1 callers
Function
minimumTotal
Dynamic Programming/minFallingPathSumTriangle.cpp:8
↓ 1 callers
Method
missing
(int[] arr)
Java/Leetcode/Leetcode268.java:11
↓ 1 callers
Function
modPow
A Function to find pow (base, exponent) % MOD in log (exponent) time
Hashtable/Palindrome-Substring-Queries.cpp:29
↓ 1 callers
Function
modulus
(num1, num2)
Python/Calculator.py:30
↓ 1 callers
Function
move_snake
CPP/Problems/maze_game.c:101
↓ 1 callers
Function
multiply
(num1, num2)
Python/Calculator.py:18
↓ 1 callers
Function
myFun
()
Python/animation_of_colorful_spiral_pattern.py:4
↓ 1 callers
Function
newNode
CPP/Trees/kthMinimumElement.cpp:12
↓ 1 callers
Method
nextGreatestLetter2
(char[] letters, char target)
Leetcode-solutions/Binary-search/SmallestLetter.java:24
↓ 1 callers
Method
nr_of_items
(self)
Python/Turtle.py:847
↓ 1 callers
Method
nth_fibo
(int b, int c, int n)
Java/Recursion/Fibonacci.java:4
↓ 1 callers
Method
numJewelsInStones
(String jewels, String stones)
Java/Leetcode/Leetcode771.java:10
↓ 1 callers
Method
numOfStrings
(String[] patterns, String word)
Java/Leetcode/Leetcode1967.java:29
↓ 1 callers
Function
numRollsToTarget
Table of n * target sum ; This is used to save the results in bottom up approach
CPP/Dynamic Programming/number_of_dice_rolls_with_target_sum.cpp:5
↓ 1 callers
Function
numRollsToTarget
Table of n * target sum ; This is used to save the results in bottom up approach
Dynamic Programming/number_of_dice_rolls_with_target_sum.cpp:5
↓ 1 callers
Function
number_of_required_pairs
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/Odd_Pairs.cpp:4
↓ 1 callers
Method
oderAgonosticBS
(int [] arr , int target)
Java/SearchingAlgorithms/OderAgonosticBinarySearch.java:13
↓ 1 callers
Method
onclick
Bind fun to mouse-click event on canvas. Arguments: fun -- a function with two arguments, the coordinates of the click
Python/Turtle.py:1248
↓ 1 callers
Method
ondestroy
(self, destroy)
Python/Turtle.py:345
↓ 1 callers
Method
onkey
Bind fun to key-release event of key. Arguments: fun -- a function with no arguments key -- a string: key (e.g. "a") or key-s
Python/Turtle.py:1265
↓ 1 callers
Method
pairSum
(int[] arr, int x)
Java/Array/PairSum.java:52
↓ 1 callers
Function
pair_sum_binarytree
CPP/binarytreeuse.cpp:526
↓ 1 callers
Method
palidrom
(String name )
Java/String/Str.java:5
↓ 1 callers
Method
palin
(String s)
Java/Leetcode/Leetcode125.java:9
↓ 1 callers
Method
palin
(String s, int l, int i)
Java/Recursion/Checking_the_palindrome.java:5
↓ 1 callers
Function
palindrome
CPP/char array/string.cpp:3
↓ 1 callers
Method
palindrome
(StringBuilder s)
Java/Leetcode/Leetcode680.java:9
↓ 1 callers
Method
paranthesis
(String s)
Java/Leetcode/Leetcode20.java:9
↓ 1 callers
Function
partition
It searches for x in arr[], and partitions the array around x
CPP/arrays/KthSmallest.cpp:8
↓ 1 callers
Function
partition
Function to partition the array using Lomuto partition scheme
CPP/sorting/intro_sort.cpp:33
↓ 1 callers
Function
partition
This function places all smaller to left of pivot and all greater elements to right of pivot
CPP/sorting/randomised_quicksort.cpp:10
↓ 1 callers
Function
partition
(customList,low,high)
Python/all sorting methods.py:125
← previous
next →
901–1,000 of 2,714, ranked by callers