MCPcopy Create free account

hub / github.com/MAZHARMIK/Interview_DS_Algo / functions

Functions3,557 in github.com/MAZHARMIK/Interview_DS_Algo

FunctionmaximumEnergy
DP/1-D DP/Taking Maximum Energy From the Mystic Dungeon.cpp:106
MethodmaximumEnergy
DP/1-D DP/Taking Maximum Energy From the Mystic Dungeon.cpp:31
FunctionmaximumGain
Stack/Maximum Score From Removing Substrings.cpp:165
MethodmaximumGain
Stack/Maximum Score From Removing Substrings.cpp:15
FunctionmaximumHappinessSum
Greedy/Maximize Happiness of Selected Children.cpp:105
MethodmaximumHappinessSum
Greedy/Maximize Happiness of Selected Children.cpp:15
MethodmaximumImportance
Graph/Maximum Total Importance of Roads.cpp:14
MethodmaximumInvitations
Graph/Maximum Employees to Be Invited to a Meeting.cpp:37
FunctionmaximumJumps
DP/1-D DP/Maximum Number of Jumps to Reach the Last Index.cpp:132
MethodmaximumJumps
DP/1-D DP/Maximum Number of Jumps to Reach the Last Index.cpp:39
MethodmaximumLength
strings/Find Longest Special Substring That Occurs Thrice I & II.cpp:16
MethodmaximumLength
DP/LIS & Variants/Find the Maximum Length of Valid Subsequence I.cpp:36
MethodmaximumLength
DP/LIS & Variants/Find the Maximum Length of Valid Subsequence II.cpp:16
MethodmaximumLength
Arrays/Find the Maximum Length of Valid Subsequence I.cpp:15
MethodmaximumLength
HashMap/Find the Maximum Number of Elements in Subset.cpp:15
FunctionmaximumOddBinaryNumber
Greedy/Leetcode Easy/Maximum Odd Binary Number.cpp:72
MethodmaximumOddBinaryNumber
Greedy/Leetcode Easy/Maximum Odd Binary Number.cpp:15
MethodmaximumPoints
DP/Maximum Points After Collecting Coins From All Nodes.cpp:41
FunctionmaximumPopulation
Line Sweep Technique/Maximum Population Year.cpp:120
MethodmaximumPopulation
Line Sweep Technique/Maximum Population Year.cpp:17
FunctionmaximumProfit
DP/Best Time to Buy and Sell Stock V.cpp:209
MethodmaximumProfit
DP/Best Time to Buy and Sell Stock V.cpp:60
MethodmaximumRequests
Backtracking/Maximum Number of Achievable Transfer Requests.cpp:51
MethodmaximumSafenessFactor
Arrays/Binary Search/Find the Safest Path in a Grid.cpp:58
FunctionmaximumScore
DP/Maximum Score From Grid Operations.cpp:288
MethodmaximumScore
Mathematical/Apply Operations to Maximize Score.cpp:114
MethodmaximumScore
DP/Maximum Score from Performing Multiplication Operations.cpp:27
MethodmaximumScore
DP/Maximum Score From Grid Operations.cpp:50
MethodmaximumScore
Greedy/Maximum Score of a Good Subarray.cpp:10
FunctionmaximumStrength
DP/Maximum Strength of K Disjoint Subarrays.cpp:104
MethodmaximumStrength
DP/Maximum Strength of K Disjoint Subarrays.cpp:50
MethodmaximumSubarraySum
Sliding Window/Maximum Sum of Distinct Subarrays With Length K.cpp:15
FunctionmaximumSum
Arrays/Max Sum of a Pair With Equal Sum of Digits.cpp:176
MethodmaximumSum
Arrays/Max Sum of a Pair With Equal Sum of Digits.cpp:27
FunctionmaximumSwap
strings/Maximum Swap.cpp:132
MethodmaximumSwap
strings/Maximum Swap.cpp:15
FunctionmaximumTotalDamage
DP/1-D DP/Maximum Total Damage With Spell Casting.cpp:161
MethodmaximumTotalDamage
DP/1-D DP/Maximum Total Damage With Spell Casting.cpp:38
FunctionmaximumTripletValue
Greedy/Leetcode Easy/Maximum Value of an Ordered Triplet I.cpp:106
MethodmaximumTripletValue
Greedy/Leetcode Easy/Maximum Value of an Ordered Triplet I.cpp:15
FunctionmaximumUniqueSubarray
Arrays/Sliding Window/Maximum Erasure Value.cpp:113
MethodmaximumUniqueSubarray
Arrays/Sliding Window/Maximum Erasure Value.cpp:15
FunctionmaximumValueSum
Greedy/Find the Maximum Sum of Node Values.cpp:109
MethodmaximumValueSum
Greedy/Find the Maximum Sum of Node Values.cpp:17
FunctionmaximumXorProduct
Bit_Magic/Maximum Xor Product.cpp:92
MethodmaximumXorProduct
Bit_Magic/Maximum Xor Product.cpp:12
Methodmemoized
DP/Minimum Cost For Tickets.cpp:12
Methodmerge
Arrays/Count of Smaller Numbers After Self.cpp:13
Methodmerge
Arrays/Intervals_Based_Qn/Check if Grid can be Cut into Sections.cpp:15
MethodmergeArrays
Arrays/Leetcode Easy/Merge Two 2D Arrays by Summing Values.cpp:14
MethodmergeInBetween
Linked List/Merge In Between Linked Lists.cpp:14
FunctionmergeKLists
Linked List/Merge k Sorted Lists.cpp:184
MethodmergeKLists
Linked List/Merge k Sorted Lists.cpp:56
MethodmergeNodes
Linked List/Merge Nodes in Between Zeros.cpp:14
MethodmergeResult
Linked List/Merge 2 sorted linked list in reverse order.cpp:48
MethodmergeSort
Arrays/Count of Smaller Numbers After Self.cpp:90
MethodmergeSort
Recursion/Merge Sort.cpp:61
MethodmergeSortUsingIndex
Arrays/Count of Smaller Numbers After Self.cpp:58
MethodmergeTrees
Tree/Merge Two Binary Trees.cpp:10
MethodmergeTwoLists
Linked List/Merge Two Sorted Lists.cpp:15
MethodmergeTwoLists
Linked List/Flattening a Linked List.cpp:51
MethodmergeTwoLists
Linked List/Merge 2 sorted linked list in reverse order.cpp:14
MethodmergeTwoSortedLists
Linked List/Merge k Sorted Lists.cpp:24
FunctionmiddleNode
Linked List/Middle of the Linked List.cpp:35
MethodmiddleNode
Linked List/Middle of the Linked List.cpp:16
MethodminAbsDiff
Arrays/2-D Array/Minimum Absolute Difference in Sliding Submatrix.cpp:15
FunctionminAddToMakeValid
Stack/Minimum Add to Make Parentheses Valid.cpp:86
MethodminAddToMakeValid
Stack/Minimum Add to Make Parentheses Valid.cpp:15
MethodminArraySum
DP/1-D DP/Minimum Array Sum.cpp:68
MethodminAvailableDuration
Arrays/Intervals_Based_Qn/Meeting_Scheduler.cpp:32
MethodminBitwiseArray
Bit_Magic/Construct the Minimum Bitwise Array II.cpp:15
MethodminBitwiseArray
Bit_Magic/Leetcode Easy/Construct the Minimum Bitwise Array I.cpp:16
FunctionminCapability
Arrays/Binary Search/House Robber IV.cpp:140
MethodminCapability
Arrays/Binary Search/House Robber IV.cpp:37
FunctionminChanges
strings/Minimum Number of Changes to Make Binary String Beautiful.cpp:104
MethodminChanges
strings/Minimum Number of Changes to Make Binary String Beautiful.cpp:15
MethodminCoinsToGetAmount_BottomUp
Approach-3 (Bottum Up)
DP/Coin_Change_(3 Approaches).cpp:74
MethodminCoinsToGetAmount_Memoized
DP/Coin_Change_(3 Approaches).cpp:11
MethodminCoinsToGetAmount_TopDown
Approach-2 (Top Down)
DP/Coin_Change_(3 Approaches).cpp:40
MethodminCoinsToGetS
DP/Perfect Squares.cpp:18
FunctionminCost
Graph/Dijkstra'a Based Problems/Minimum Cost to Make at Least One Valid Path in a Grid.cpp:136
FunctionminCost
DP/DP on Grids/Minimum Cost Path with Teleportations.cpp:254
FunctionminCost
Greedy/Minimum Time to Make Rope Colorful.cpp:46
MethodminCost
Graph/Dijkstra'a Based Problems/Minimum Cost Path with Edge Reversals.cpp:17
MethodminCost
Graph/Dijkstra'a Based Problems/Minimum Cost to Make at Least One Valid Path in a Grid.cpp:41
MethodminCost
DP/Minimum Cost to Cut a Stick.cpp:39
MethodminCost
DP/Paint_House.cpp:28
MethodminCost
DP/DP on Grids/Minimum Cost Path with Teleportations.cpp:58
MethodminCost
Arrays/2-D Array/Minimum Cost Homecoming of a Robot in a Grid.cpp:15
MethodminCost
Arrays/Binary Search/Minimum Cost to Make Array Equal.cpp:19
MethodminCost
Greedy/Minimum Deletion Cost to Avoid Repeating Letters.cpp:9
MethodminCost
Greedy/Rearranging Fruits.cpp:15
MethodminCost
Greedy/Minimum Time to Make Rope Colorful.cpp:13
MethodminCostClimbingStairs
DP/Min Cost Climbing Stairs.cpp:20
MethodminCostConnectPoints
Graph/Min Cost to Connect All Points.cpp:49
FunctionminCut
DP/DP on Strings/Palindrome Partitioning II.cpp:202
MethodminCut
DP/DP on Strings/Palindrome Partitioning II.cpp:43
MethodminDays
Arrays/2-D Array/DFS/Minimum Number of Days to Disconnect Island.cpp:48
MethodminDays
Arrays/Binary Search/Minimum Number of Days to Make m Bouquets.cpp:33
MethodminDeletionSize
strings/Delete Columns to Make Sorted II.cpp:15
← previousnext →2,301–2,400 of 3,557, ranked by callers