MCPcopy Create free account

hub / github.com/MAZHARMIK/Interview_DS_Algo / functions

Functions3,557 in github.com/MAZHARMIK/Interview_DS_Algo

MethodmaxProductDifference
Arrays/Leetcode Easy/Maximum Product Difference Between Two Pairs.cpp:14
FunctionmaxProductPath
DP/DP on Grids/Maximum Non Negative Product in a Matrix.cpp:179
MethodmaxProductPath
DP/DP on Grids/Maximum Non Negative Product in a Matrix.cpp:50
FunctionmaxProfit
DP/Best Time to Buy and Sell Stock with Cooldown.cpp:134
MethodmaxProfit
DP/Best Time to Buy and Sell Stock with Cooldown.cpp:32
MethodmaxProfit
DP/Best Time to Buy and Sell Stock with Transaction Fee.cpp:34
MethodmaxProfit
DP/Maximum Profit from Trading Stocks with Discounts.cpp:85
MethodmaxProfit
Sliding Window/Best Time to Buy and Sell Stock using Strategy.cpp:17
FunctionmaxProfitAssignment
Arrays/Binary Search/Most Profit Assigning Work.cpp:182
MethodmaxProfitAssignment
Arrays/Binary Search/Most Profit Assigning Work.cpp:15
MethodmaxRemoval
Heap/Zero Array Transformation III.cpp:14
FunctionmaxResult
DP/Jump Game VI.cpp:64
MethodmaxResult
DP/Jump Game VI.cpp:33
MethodmaxRotateFunction
Arrays/Rotate Function.cpp:15
FunctionmaxRunTime
Arrays/Binary Search/Maximum Running Time of N Computers.cpp:150
MethodmaxRunTime
Arrays/Binary Search/Maximum Running Time of N Computers.cpp:27
MethodmaxSatisfaction
DP/Reducing Dishes.cpp:26
MethodmaxSatisfied
Sliding Window/Grumpy Bookstore Owner.cpp:15
FunctionmaxScore
strings/Easy Tagged/Maximum Score After Splitting a String.cpp:107
MethodmaxScore
strings/Easy Tagged/Maximum Score After Splitting a String.cpp:13
MethodmaxScore
Heap/Maximum Subsequence Score.cpp:35
MethodmaxScore
DP/Maximize Score After N Operations.cpp:37
MethodmaxScore
Arrays/Binary Search/Maximize the Minimum Game Score.cpp:51
MethodmaxScore
Sliding Window/Maximum Points You Can Obtain from Cards.cpp:53
FunctionmaxScoreSightseeingPair
Arrays/Best Sightseeing Pair.cpp:119
MethodmaxScoreSightseeingPair
Arrays/Best Sightseeing Pair.cpp:15
MethodmaxScoreUtilOptimized
DP/Jump Game VI.cpp:80
MethodmaxScoreUtilRecursionMemo
DP/Jump Game VI.cpp:18
MethodmaxScoreWords
Backtracking/Maximum Score Words Formed by Letters.cpp:50
FunctionmaxSideLength
Arrays/Cumulative_Sum(Prefix Array)/Maximum Side Length of a Square with Sum Less than or Equal to Threshold.cpp:208
MethodmaxSideLength
Arrays/Cumulative_Sum(Prefix Array)/Maximum Side Length of a Square with Sum Less than or Equal to Threshold.cpp:15
MethodmaxSlidingWindow
Sliding Window/Sliding Window Maximum.cpp:50
FunctionmaxStability
Graph/Disjoint Set/Maximize Spanning Tree Stability with Upgrades.cpp:254
MethodmaxStability
Graph/Disjoint Set/Maximize Spanning Tree Stability with Upgrades.cpp:106
MethodmaxSubArray
Arrays/Maximum_Subarray.cpp:10
FunctionmaxSubarrayLength
Sliding Window/Length of Longest Subarray With at Most K Frequency.cpp:88
MethodmaxSubarrayLength
Sliding Window/Length of Longest Subarray With at Most K Frequency.cpp:14
MethodmaxSubarraySum
Arrays/Maximum Subarray Sum With Length Divisible by K.cpp:15
MethodmaxSubarraySumCircular
Arrays/Maximum Sum Circular Subarray.cpp:36
MethodmaxSubarrays
Greedy/Maximize Subarrays After Removing One Conflicting Pair.cpp:16
FunctionmaxSubsequence
Arrays/Leetcode Easy/Find Subsequence of Length K With the Largest Sum.cpp:119
MethodmaxSubsequence
Arrays/Leetcode Easy/Find Subsequence of Length K With the Largest Sum.cpp:14
FunctionmaxSum
HashSet/Leetcode Easy/Maximum Unique Subarray Sum After Deletion.cpp:93
MethodmaxSum
HashSet/Leetcode Easy/Maximum Unique Subarray Sum After Deletion.cpp:15
FunctionmaxSumAfterPartitioning
DP/Partition Array for Maximum Sum.cpp:78
MethodmaxSumAfterPartitioning
DP/Partition Array for Maximum Sum.cpp:37
FunctionmaxSumDivThree
Greedy/Greatest Sum Divisible by Three.cpp:186
MethodmaxSumDivThree
Greedy/Greatest Sum Divisible by Three.cpp:15
MethodmaxSumOfThreeSubarrays
DP/Maximum Sum of 3 Non-Overlapping Subarrays.cpp:51
MethodmaxSumRangeQuery
Line Sweep Technique/Maximum Sum Obtained of Any Permutation.cpp:16
MethodmaxSumSubmatrix
DP/Max Sum of Rectangle No Larger Than K.cpp:30
MethodmaxSumTrionic
DP/1-D DP/Trionic Array II.cpp:71
MethodmaxSumWithK
Sliding Window/Largest Sum Subarray of Size at least K.cpp:14
MethodmaxTargetNodes
Graph/Maximize the Number of Target Nodes After Connecting Trees II.cpp:47
MethodmaxTargetNodes
Graph/BFS_DFS/Maximize the Number of Target Nodes After Connecting Trees I.cpp:68
MethodmaxTaskAssign
Arrays/Binary Search/Maximum Number of Tasks You Can Assign.cpp:41
MethodmaxTotalFruits
Arrays/Binary Search/Maximum Fruits Harvested After at Most K Steps.cpp:16
MethodmaxTotalReward
DP/Maximum Total Reward Using Operations I.cpp:32
FunctionmaxTotalValue
Heap/Maximum Total Subarray Value II.cpp:186
MethodmaxTotalValue
Heap/Maximum Total Subarray Value II.cpp:83
MethodmaxTotalValue
Greedy/Leetcode Easy/Maximum Total Subarray Value I.cpp:14
MethodmaxTurbulenceSize
DP/Longest Turbulent Subarray.cpp:14
FunctionmaxTwoEvents
Arrays/Intervals_Based_Qn/Two Best Non-Overlapping Events.cpp:168
MethodmaxTwoEvents
Arrays/Intervals_Based_Qn/Two Best Non-Overlapping Events.cpp:15
MethodmaxUncrossedLines
DP/Uncrossed Lines.cpp:39
MethodmaxUniqueSplit
Backtracking/Split a String Into the Max Number of Unique Substrings.cpp:35
MethodmaxValue
Arrays/Cumulative_Sum(Prefix Array)/Jump Game IX.cpp:15
MethodmaxValue
Arrays/Intervals_Based_Qn/Maximum Number of Events That Can Be Attended II.cpp:44
MethodmaxValue
Arrays/Binary Search/Maximum Value at a Given Index in a Bounded Array.cpp:18
MethodmaxValueOfCoins
DP/Maximum Value of K Coins From Piles.cpp:42
MethodmaxVowels
Sliding Window/Maximum Number of Vowels in a Substring of Given Length.cpp:14
MethodmaxWalls
DP/Maximum Walls Destroyed by Robots.cpp:50
MethodmaxWidthOfVerticalArea
Arrays/Widest Vertical Area Between Two Points Containing No Points.cpp:12
FunctionmaxWidthRamp
Arrays/Two Pointer/Maximum Width Ramp.cpp:109
MethodmaxWidthRamp
Arrays/Two Pointer/Maximum Width Ramp.cpp:15
MethodmaxWidthRamp
Stack/Monotonic Stack/Maximum Width Ramp.cpp:16
MethodmaxXor
Bit_Magic/Maximum XOR of Two Numbers in an Array.cpp:35
Functionmax_courses
DP/Grinding Geek.cpp:125
Methodmax_courses
DP/Grinding Geek.cpp:37
FunctionmaximalNetworkRank
Graph/Maximal Network Rank.cpp:94
MethodmaximalNetworkRank
Graph/Maximal Network Rank.cpp:50
FunctionmaximalRectangle
Stack/Maximal Rectangle.cpp:303
MethodmaximalRectangle
Stack/Maximal Rectangle.cpp:70
MethodmaximalSquare
DP/Maximal Square.cpp:15
MethodmaximizeSquareArea
HashSet/Maximum Square Area by Removing Fences From a Field.cpp:16
MethodmaximizeSquareHoleArea
Arrays/Maximize Area of Square Hole in Grid.cpp:15
Methodmaximum69Number
Greedy/Maximum 69 Number.cpp:16
MethodmaximumAmount
DP/DP on Grids/Maximum Amount of Money Robot Can Earn.cpp:52
MethodmaximumBags
Greedy/Maximum Bags With Full Capacity of Rocks.cpp:11
FunctionmaximumBeauty
Arrays/Intervals_Based_Qn/Maximum Beauty of an Array After Applying Operation.cpp:129
MethodmaximumBeauty
Arrays/Intervals_Based_Qn/Maximum Beauty of an Array After Applying Operation.cpp:15
MethodmaximumBeauty
Arrays/Binary Search/Most Beautiful Item for Each Query.cpp:37
FunctionmaximumCandies
Arrays/Binary Search/Maximum Candies Allocated to K Children.cpp:156
MethodmaximumCandies
Arrays/Binary Search/Maximum Candies Allocated to K Children.cpp:16
FunctionmaximumCount
Arrays/Leetcode Easy/Maximum Count of Positive Integer and Negative Integer.cpp:73
MethodmaximumCount
Arrays/Leetcode Easy/Maximum Count of Positive Integer and Negative Integer.cpp:14
MethodmaximumDetonation
Graph/BFS_DFS/Detonate the Maximum Bombs.cpp:23
MethodmaximumDifference
Arrays/Leetcode Easy/Maximum Difference Between Increasing Elements.cpp:14
FunctionmaximumElementAfterDecrementingAndRearranging
Greedy/Maximum Element After Decreasing and Rearranging.cpp:39
MethodmaximumElementAfterDecrementingAndRearranging
Greedy/Maximum Element After Decreasing and Rearranging.cpp:12
← previousnext →2,201–2,300 of 3,557, ranked by callers