Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MAZHARMIK/Interview_DS_Algo
/ functions
Functions
3,557 in github.com/MAZHARMIK/Interview_DS_Algo
⨍
Functions
3,557
◇
Types & classes
1,501
Method
maxProductDifference
Arrays/Leetcode Easy/Maximum Product Difference Between Two Pairs.cpp:14
Function
maxProductPath
DP/DP on Grids/Maximum Non Negative Product in a Matrix.cpp:179
Method
maxProductPath
DP/DP on Grids/Maximum Non Negative Product in a Matrix.cpp:50
Function
maxProfit
DP/Best Time to Buy and Sell Stock with Cooldown.cpp:134
Method
maxProfit
DP/Best Time to Buy and Sell Stock with Cooldown.cpp:32
Method
maxProfit
DP/Best Time to Buy and Sell Stock with Transaction Fee.cpp:34
Method
maxProfit
DP/Maximum Profit from Trading Stocks with Discounts.cpp:85
Method
maxProfit
Sliding Window/Best Time to Buy and Sell Stock using Strategy.cpp:17
Function
maxProfitAssignment
Arrays/Binary Search/Most Profit Assigning Work.cpp:182
Method
maxProfitAssignment
Arrays/Binary Search/Most Profit Assigning Work.cpp:15
Method
maxRemoval
Heap/Zero Array Transformation III.cpp:14
Function
maxResult
DP/Jump Game VI.cpp:64
Method
maxResult
DP/Jump Game VI.cpp:33
Method
maxRotateFunction
Arrays/Rotate Function.cpp:15
Function
maxRunTime
Arrays/Binary Search/Maximum Running Time of N Computers.cpp:150
Method
maxRunTime
Arrays/Binary Search/Maximum Running Time of N Computers.cpp:27
Method
maxSatisfaction
DP/Reducing Dishes.cpp:26
Method
maxSatisfied
Sliding Window/Grumpy Bookstore Owner.cpp:15
Function
maxScore
strings/Easy Tagged/Maximum Score After Splitting a String.cpp:107
Method
maxScore
strings/Easy Tagged/Maximum Score After Splitting a String.cpp:13
Method
maxScore
Heap/Maximum Subsequence Score.cpp:35
Method
maxScore
DP/Maximize Score After N Operations.cpp:37
Method
maxScore
Arrays/Binary Search/Maximize the Minimum Game Score.cpp:51
Method
maxScore
Sliding Window/Maximum Points You Can Obtain from Cards.cpp:53
Function
maxScoreSightseeingPair
Arrays/Best Sightseeing Pair.cpp:119
Method
maxScoreSightseeingPair
Arrays/Best Sightseeing Pair.cpp:15
Method
maxScoreUtilOptimized
DP/Jump Game VI.cpp:80
Method
maxScoreUtilRecursionMemo
DP/Jump Game VI.cpp:18
Method
maxScoreWords
Backtracking/Maximum Score Words Formed by Letters.cpp:50
Function
maxSideLength
Arrays/Cumulative_Sum(Prefix Array)/Maximum Side Length of a Square with Sum Less than or Equal to Threshold.cpp:208
Method
maxSideLength
Arrays/Cumulative_Sum(Prefix Array)/Maximum Side Length of a Square with Sum Less than or Equal to Threshold.cpp:15
Method
maxSlidingWindow
Sliding Window/Sliding Window Maximum.cpp:50
Function
maxStability
Graph/Disjoint Set/Maximize Spanning Tree Stability with Upgrades.cpp:254
Method
maxStability
Graph/Disjoint Set/Maximize Spanning Tree Stability with Upgrades.cpp:106
Method
maxSubArray
Arrays/Maximum_Subarray.cpp:10
Function
maxSubarrayLength
Sliding Window/Length of Longest Subarray With at Most K Frequency.cpp:88
Method
maxSubarrayLength
Sliding Window/Length of Longest Subarray With at Most K Frequency.cpp:14
Method
maxSubarraySum
Arrays/Maximum Subarray Sum With Length Divisible by K.cpp:15
Method
maxSubarraySumCircular
Arrays/Maximum Sum Circular Subarray.cpp:36
Method
maxSubarrays
Greedy/Maximize Subarrays After Removing One Conflicting Pair.cpp:16
Function
maxSubsequence
Arrays/Leetcode Easy/Find Subsequence of Length K With the Largest Sum.cpp:119
Method
maxSubsequence
Arrays/Leetcode Easy/Find Subsequence of Length K With the Largest Sum.cpp:14
Function
maxSum
HashSet/Leetcode Easy/Maximum Unique Subarray Sum After Deletion.cpp:93
Method
maxSum
HashSet/Leetcode Easy/Maximum Unique Subarray Sum After Deletion.cpp:15
Function
maxSumAfterPartitioning
DP/Partition Array for Maximum Sum.cpp:78
Method
maxSumAfterPartitioning
DP/Partition Array for Maximum Sum.cpp:37
Function
maxSumDivThree
Greedy/Greatest Sum Divisible by Three.cpp:186
Method
maxSumDivThree
Greedy/Greatest Sum Divisible by Three.cpp:15
Method
maxSumOfThreeSubarrays
DP/Maximum Sum of 3 Non-Overlapping Subarrays.cpp:51
Method
maxSumRangeQuery
Line Sweep Technique/Maximum Sum Obtained of Any Permutation.cpp:16
Method
maxSumSubmatrix
DP/Max Sum of Rectangle No Larger Than K.cpp:30
Method
maxSumTrionic
DP/1-D DP/Trionic Array II.cpp:71
Method
maxSumWithK
Sliding Window/Largest Sum Subarray of Size at least K.cpp:14
Method
maxTargetNodes
Graph/Maximize the Number of Target Nodes After Connecting Trees II.cpp:47
Method
maxTargetNodes
Graph/BFS_DFS/Maximize the Number of Target Nodes After Connecting Trees I.cpp:68
Method
maxTaskAssign
Arrays/Binary Search/Maximum Number of Tasks You Can Assign.cpp:41
Method
maxTotalFruits
Arrays/Binary Search/Maximum Fruits Harvested After at Most K Steps.cpp:16
Method
maxTotalReward
DP/Maximum Total Reward Using Operations I.cpp:32
Function
maxTotalValue
Heap/Maximum Total Subarray Value II.cpp:186
Method
maxTotalValue
Heap/Maximum Total Subarray Value II.cpp:83
Method
maxTotalValue
Greedy/Leetcode Easy/Maximum Total Subarray Value I.cpp:14
Method
maxTurbulenceSize
DP/Longest Turbulent Subarray.cpp:14
Function
maxTwoEvents
Arrays/Intervals_Based_Qn/Two Best Non-Overlapping Events.cpp:168
Method
maxTwoEvents
Arrays/Intervals_Based_Qn/Two Best Non-Overlapping Events.cpp:15
Method
maxUncrossedLines
DP/Uncrossed Lines.cpp:39
Method
maxUniqueSplit
Backtracking/Split a String Into the Max Number of Unique Substrings.cpp:35
Method
maxValue
Arrays/Cumulative_Sum(Prefix Array)/Jump Game IX.cpp:15
Method
maxValue
Arrays/Intervals_Based_Qn/Maximum Number of Events That Can Be Attended II.cpp:44
Method
maxValue
Arrays/Binary Search/Maximum Value at a Given Index in a Bounded Array.cpp:18
Method
maxValueOfCoins
DP/Maximum Value of K Coins From Piles.cpp:42
Method
maxVowels
Sliding Window/Maximum Number of Vowels in a Substring of Given Length.cpp:14
Method
maxWalls
DP/Maximum Walls Destroyed by Robots.cpp:50
Method
maxWidthOfVerticalArea
Arrays/Widest Vertical Area Between Two Points Containing No Points.cpp:12
Function
maxWidthRamp
Arrays/Two Pointer/Maximum Width Ramp.cpp:109
Method
maxWidthRamp
Arrays/Two Pointer/Maximum Width Ramp.cpp:15
Method
maxWidthRamp
Stack/Monotonic Stack/Maximum Width Ramp.cpp:16
Method
maxXor
Bit_Magic/Maximum XOR of Two Numbers in an Array.cpp:35
Function
max_courses
DP/Grinding Geek.cpp:125
Method
max_courses
DP/Grinding Geek.cpp:37
Function
maximalNetworkRank
Graph/Maximal Network Rank.cpp:94
Method
maximalNetworkRank
Graph/Maximal Network Rank.cpp:50
Function
maximalRectangle
Stack/Maximal Rectangle.cpp:303
Method
maximalRectangle
Stack/Maximal Rectangle.cpp:70
Method
maximalSquare
DP/Maximal Square.cpp:15
Method
maximizeSquareArea
HashSet/Maximum Square Area by Removing Fences From a Field.cpp:16
Method
maximizeSquareHoleArea
Arrays/Maximize Area of Square Hole in Grid.cpp:15
Method
maximum69Number
Greedy/Maximum 69 Number.cpp:16
Method
maximumAmount
DP/DP on Grids/Maximum Amount of Money Robot Can Earn.cpp:52
Method
maximumBags
Greedy/Maximum Bags With Full Capacity of Rocks.cpp:11
Function
maximumBeauty
Arrays/Intervals_Based_Qn/Maximum Beauty of an Array After Applying Operation.cpp:129
Method
maximumBeauty
Arrays/Intervals_Based_Qn/Maximum Beauty of an Array After Applying Operation.cpp:15
Method
maximumBeauty
Arrays/Binary Search/Most Beautiful Item for Each Query.cpp:37
Function
maximumCandies
Arrays/Binary Search/Maximum Candies Allocated to K Children.cpp:156
Method
maximumCandies
Arrays/Binary Search/Maximum Candies Allocated to K Children.cpp:16
Function
maximumCount
Arrays/Leetcode Easy/Maximum Count of Positive Integer and Negative Integer.cpp:73
Method
maximumCount
Arrays/Leetcode Easy/Maximum Count of Positive Integer and Negative Integer.cpp:14
Method
maximumDetonation
Graph/BFS_DFS/Detonate the Maximum Bombs.cpp:23
Method
maximumDifference
Arrays/Leetcode Easy/Maximum Difference Between Increasing Elements.cpp:14
Function
maximumElementAfterDecrementingAndRearranging
Greedy/Maximum Element After Decreasing and Rearranging.cpp:39
Method
maximumElementAfterDecrementingAndRearranging
Greedy/Maximum Element After Decreasing and Rearranging.cpp:12
← previous
next →
2,201–2,300 of 3,557, ranked by callers