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
Function
maximumEnergy
DP/1-D DP/Taking Maximum Energy From the Mystic Dungeon.cpp:106
Method
maximumEnergy
DP/1-D DP/Taking Maximum Energy From the Mystic Dungeon.cpp:31
Function
maximumGain
Stack/Maximum Score From Removing Substrings.cpp:165
Method
maximumGain
Stack/Maximum Score From Removing Substrings.cpp:15
Function
maximumHappinessSum
Greedy/Maximize Happiness of Selected Children.cpp:105
Method
maximumHappinessSum
Greedy/Maximize Happiness of Selected Children.cpp:15
Method
maximumImportance
Graph/Maximum Total Importance of Roads.cpp:14
Method
maximumInvitations
Graph/Maximum Employees to Be Invited to a Meeting.cpp:37
Function
maximumJumps
DP/1-D DP/Maximum Number of Jumps to Reach the Last Index.cpp:132
Method
maximumJumps
DP/1-D DP/Maximum Number of Jumps to Reach the Last Index.cpp:39
Method
maximumLength
strings/Find Longest Special Substring That Occurs Thrice I & II.cpp:16
Method
maximumLength
DP/LIS & Variants/Find the Maximum Length of Valid Subsequence I.cpp:36
Method
maximumLength
DP/LIS & Variants/Find the Maximum Length of Valid Subsequence II.cpp:16
Method
maximumLength
Arrays/Find the Maximum Length of Valid Subsequence I.cpp:15
Method
maximumLength
HashMap/Find the Maximum Number of Elements in Subset.cpp:15
Function
maximumOddBinaryNumber
Greedy/Leetcode Easy/Maximum Odd Binary Number.cpp:72
Method
maximumOddBinaryNumber
Greedy/Leetcode Easy/Maximum Odd Binary Number.cpp:15
Method
maximumPoints
DP/Maximum Points After Collecting Coins From All Nodes.cpp:41
Function
maximumPopulation
Line Sweep Technique/Maximum Population Year.cpp:120
Method
maximumPopulation
Line Sweep Technique/Maximum Population Year.cpp:17
Function
maximumProfit
DP/Best Time to Buy and Sell Stock V.cpp:209
Method
maximumProfit
DP/Best Time to Buy and Sell Stock V.cpp:60
Method
maximumRequests
Backtracking/Maximum Number of Achievable Transfer Requests.cpp:51
Method
maximumSafenessFactor
Arrays/Binary Search/Find the Safest Path in a Grid.cpp:58
Function
maximumScore
DP/Maximum Score From Grid Operations.cpp:288
Method
maximumScore
Mathematical/Apply Operations to Maximize Score.cpp:114
Method
maximumScore
DP/Maximum Score from Performing Multiplication Operations.cpp:27
Method
maximumScore
DP/Maximum Score From Grid Operations.cpp:50
Method
maximumScore
Greedy/Maximum Score of a Good Subarray.cpp:10
Function
maximumStrength
DP/Maximum Strength of K Disjoint Subarrays.cpp:104
Method
maximumStrength
DP/Maximum Strength of K Disjoint Subarrays.cpp:50
Method
maximumSubarraySum
Sliding Window/Maximum Sum of Distinct Subarrays With Length K.cpp:15
Function
maximumSum
Arrays/Max Sum of a Pair With Equal Sum of Digits.cpp:176
Method
maximumSum
Arrays/Max Sum of a Pair With Equal Sum of Digits.cpp:27
Function
maximumSwap
strings/Maximum Swap.cpp:132
Method
maximumSwap
strings/Maximum Swap.cpp:15
Function
maximumTotalDamage
DP/1-D DP/Maximum Total Damage With Spell Casting.cpp:161
Method
maximumTotalDamage
DP/1-D DP/Maximum Total Damage With Spell Casting.cpp:38
Function
maximumTripletValue
Greedy/Leetcode Easy/Maximum Value of an Ordered Triplet I.cpp:106
Method
maximumTripletValue
Greedy/Leetcode Easy/Maximum Value of an Ordered Triplet I.cpp:15
Function
maximumUniqueSubarray
Arrays/Sliding Window/Maximum Erasure Value.cpp:113
Method
maximumUniqueSubarray
Arrays/Sliding Window/Maximum Erasure Value.cpp:15
Function
maximumValueSum
Greedy/Find the Maximum Sum of Node Values.cpp:109
Method
maximumValueSum
Greedy/Find the Maximum Sum of Node Values.cpp:17
Function
maximumXorProduct
Bit_Magic/Maximum Xor Product.cpp:92
Method
maximumXorProduct
Bit_Magic/Maximum Xor Product.cpp:12
Method
memoized
DP/Minimum Cost For Tickets.cpp:12
Method
merge
Arrays/Count of Smaller Numbers After Self.cpp:13
Method
merge
Arrays/Intervals_Based_Qn/Check if Grid can be Cut into Sections.cpp:15
Method
mergeArrays
Arrays/Leetcode Easy/Merge Two 2D Arrays by Summing Values.cpp:14
Method
mergeInBetween
Linked List/Merge In Between Linked Lists.cpp:14
Function
mergeKLists
Linked List/Merge k Sorted Lists.cpp:184
Method
mergeKLists
Linked List/Merge k Sorted Lists.cpp:56
Method
mergeNodes
Linked List/Merge Nodes in Between Zeros.cpp:14
Method
mergeResult
Linked List/Merge 2 sorted linked list in reverse order.cpp:48
Method
mergeSort
Arrays/Count of Smaller Numbers After Self.cpp:90
Method
mergeSort
Recursion/Merge Sort.cpp:61
Method
mergeSortUsingIndex
Arrays/Count of Smaller Numbers After Self.cpp:58
Method
mergeTrees
Tree/Merge Two Binary Trees.cpp:10
Method
mergeTwoLists
Linked List/Merge Two Sorted Lists.cpp:15
Method
mergeTwoLists
Linked List/Flattening a Linked List.cpp:51
Method
mergeTwoLists
Linked List/Merge 2 sorted linked list in reverse order.cpp:14
Method
mergeTwoSortedLists
Linked List/Merge k Sorted Lists.cpp:24
Function
middleNode
Linked List/Middle of the Linked List.cpp:35
Method
middleNode
Linked List/Middle of the Linked List.cpp:16
Method
minAbsDiff
Arrays/2-D Array/Minimum Absolute Difference in Sliding Submatrix.cpp:15
Function
minAddToMakeValid
Stack/Minimum Add to Make Parentheses Valid.cpp:86
Method
minAddToMakeValid
Stack/Minimum Add to Make Parentheses Valid.cpp:15
Method
minArraySum
DP/1-D DP/Minimum Array Sum.cpp:68
Method
minAvailableDuration
Arrays/Intervals_Based_Qn/Meeting_Scheduler.cpp:32
Method
minBitwiseArray
Bit_Magic/Construct the Minimum Bitwise Array II.cpp:15
Method
minBitwiseArray
Bit_Magic/Leetcode Easy/Construct the Minimum Bitwise Array I.cpp:16
Function
minCapability
Arrays/Binary Search/House Robber IV.cpp:140
Method
minCapability
Arrays/Binary Search/House Robber IV.cpp:37
Function
minChanges
strings/Minimum Number of Changes to Make Binary String Beautiful.cpp:104
Method
minChanges
strings/Minimum Number of Changes to Make Binary String Beautiful.cpp:15
Method
minCoinsToGetAmount_BottomUp
Approach-3 (Bottum Up)
DP/Coin_Change_(3 Approaches).cpp:74
Method
minCoinsToGetAmount_Memoized
DP/Coin_Change_(3 Approaches).cpp:11
Method
minCoinsToGetAmount_TopDown
Approach-2 (Top Down)
DP/Coin_Change_(3 Approaches).cpp:40
Method
minCoinsToGetS
DP/Perfect Squares.cpp:18
Function
minCost
Graph/Dijkstra'a Based Problems/Minimum Cost to Make at Least One Valid Path in a Grid.cpp:136
Function
minCost
DP/DP on Grids/Minimum Cost Path with Teleportations.cpp:254
Function
minCost
Greedy/Minimum Time to Make Rope Colorful.cpp:46
Method
minCost
Graph/Dijkstra'a Based Problems/Minimum Cost Path with Edge Reversals.cpp:17
Method
minCost
Graph/Dijkstra'a Based Problems/Minimum Cost to Make at Least One Valid Path in a Grid.cpp:41
Method
minCost
DP/Minimum Cost to Cut a Stick.cpp:39
Method
minCost
DP/Paint_House.cpp:28
Method
minCost
DP/DP on Grids/Minimum Cost Path with Teleportations.cpp:58
Method
minCost
Arrays/2-D Array/Minimum Cost Homecoming of a Robot in a Grid.cpp:15
Method
minCost
Arrays/Binary Search/Minimum Cost to Make Array Equal.cpp:19
Method
minCost
Greedy/Minimum Deletion Cost to Avoid Repeating Letters.cpp:9
Method
minCost
Greedy/Rearranging Fruits.cpp:15
Method
minCost
Greedy/Minimum Time to Make Rope Colorful.cpp:13
Method
minCostClimbingStairs
DP/Min Cost Climbing Stairs.cpp:20
Method
minCostConnectPoints
Graph/Min Cost to Connect All Points.cpp:49
Function
minCut
DP/DP on Strings/Palindrome Partitioning II.cpp:202
Method
minCut
DP/DP on Strings/Palindrome Partitioning II.cpp:43
Method
minDays
Arrays/2-D Array/DFS/Minimum Number of Days to Disconnect Island.cpp:48
Method
minDays
Arrays/Binary Search/Minimum Number of Days to Make m Bouquets.cpp:33
Method
minDeletionSize
strings/Delete Columns to Make Sorted II.cpp:15
← previous
next →
2,301–2,400 of 3,557, ranked by callers