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
minimumTimeToInitialState
strings/Minimum Time to Revert Word to Initial State I.cpp:106
Method
minimumTimeToInitialState
strings/Minimum Time to Revert Word to Initial State II.cpp:43
Method
minimumTimeToInitialState
strings/Minimum Time to Revert Word to Initial State I.cpp:29
Function
minimumTotal
DP/Triangle.cpp:182
Method
minimumTotal
DP/Triangle.cpp:32
Method
minimumTotalDistance
DP/Minimum Total Distance Traveled.cpp:36
Method
minimumValueSum
DP/Minimum Sum of Values by Dividing Array.cpp:48
Function
mirrorDistance
Mathematical/Leetcode Easy/Mirror Distance of an Integer.cpp:79
Method
mirrorDistance
Mathematical/Leetcode Easy/Mirror Distance of an Integer.cpp:27
Function
missingNumber
Mathematical/Missing Number.cpp:89
Method
missingNumber
Mathematical/Missing Number.cpp:16
Method
missingNumber
Mathematical/Missing Number.cpp:103
Method
modifiedGraphEdges
Graph/Dijkstra'a Based Problems/Modify Graph Edge Weights.cpp:65
Method
modifiedList
Linked List/Delete Nodes From Linked List Present in Array.cpp:15
Method
modifyQueue
Function to reverse first k elements of a queue.
Queue/Reverse First K elements of Queue.cpp:16
Method
modifyQueue
Queue/Reverse First K elements of Queue.cpp:54
Method
modularnCr
Mathematical/Count the Number of Ideal Arrays.cpp:52
Function
mostBooked
Arrays/Intervals_Based_Qn/Meeting Rooms III.cpp:193
Method
mostBooked
Arrays/Intervals_Based_Qn/Meeting Rooms III.cpp:14
Method
mostFrequentIDs
Design/Most Frequent IDs.cpp:16
Method
mostPoints
DP/Solving Questions With Brainpower.cpp:29
Function
mostProfitablePath
Graph/BFS_DFS/Most Profitable Path in a Tree.cpp:295
Method
mostProfitablePath
Graph/BFS_DFS/Most Profitable Path in a Tree.cpp:71
Method
move
Design/Design Tic-Tac-Toe.cpp:113
Method
moveUntilOneCount
Arrays/Max Consecutive Ones II.cpp:69
Method
moveUntilOneCount
Arrays/Two Pointer/Max Consecutive Ones III.cpp:9
Method
multAll
Mathematical/Fancy Sequence.cpp:52
Method
multiply
strings/Multiply Strings.cpp:45
Method
multiply
Arrays/Factorials of large numbers.cpp:9
Method
multiplyNum
This function just does the multiplication of a digit of num1 with whole num2
strings/Multiply Strings.cpp:28
Function
myFunction
DP/LIS & Variants/Longest String Chain.cpp:58
Method
myFunction
DP/LIS & Variants/Longest String Chain.cpp:92
Method
myFunction
Arrays/Largest Number.cpp:16
Method
myFunction
Arrays/Intervals_Based_Qn/Meeting Rooms.cpp:19
Method
myPow
Mathematical/Pow(x, n).cpp:40
Method
nCr
nCr ka formula apply karne k lie
Mathematical/Count the Number of Arrays with K Matching Adjacent Elements.cpp:32
Method
nCr
Mathematical/Direction Assignments with Exactly K Visible People.cpp:32
Method
nCr
nCr % MOD
DP/Digit DP/Find Sum of Array Product of Magical Sequences.cpp:81
Method
nearestExit
Graph/BFS_DFS/Nearest Exit from Entrance in Maze.cpp:13
Method
nearestPalindromic
strings/Find the Closest Palindrome.cpp:28
Method
networkDelayTime
Graph/Dijkstra'a Based Problems/Network Delay Time.cpp:12
Method
new21Game
Mathematical/New 21 Game.cpp:10
Function
nextBeautifulNumber
HashMap/Next Greater Numerically Balanced Number.cpp:158
Method
nextBeautifulNumber
HashMap/Next Greater Numerically Balanced Number.cpp:33
Method
nextGreaterElement
strings/Next Greater Element III.cpp:11
Method
nextGreatestLetter
Arrays/Binary Search/Find Smallest Letter Greater Than Target.cpp:35
Method
nextPermutation
strings/Construct Smallest Number From DI String.cpp:109
Method
nextPermutation
DP/DP on Strings/Count Number of Balanced Permutations.cpp:166
Method
nextPermutation
Arrays/Next Permutation.cpp:10
Function
nodesBetweenCriticalPoints
Linked List/Find the Minimum and Maximum Number of Nodes Between Critical Points.cpp:150
Method
nodesBetweenCriticalPoints
Linked List/Find the Minimum and Maximum Number of Nodes Between Critical Points.cpp:15
Method
normalPattern
HashMap/Find_and_Replace_Pattern.cpp:57
Function
nthUglyNumber
DP/Ugly Number II.cpp:159
Method
nthUglyNumber
DP/Ugly Number II.cpp:34
Method
numBusesToDestination
Graph/Bus Routes.cpp:13
Function
numDecodings
DP/Decode Ways.cpp:170
Method
numDecodings
DP/Decode Ways.cpp:40
Method
numDecodings
DP/Decode Ways II.cpp:43
Method
numDistinct
DP/Distinct Subsequences.cpp:32
Method
numEnclaves
Arrays/2-D Array/DFS/Number of Enclaves.cpp:28
Function
numEquivDominoPairs
HashMap/Leetcode Easy/Number of Equivalent Domino Pairs.cpp:72
Method
numEquivDominoPairs
HashMap/Leetcode Easy/Number of Equivalent Domino Pairs.cpp:15
Function
numFactoredBinaryTrees
HashMap/Binary Trees With Factors.cpp:54
Method
numFactoredBinaryTrees
HashMap/Binary Trees With Factors.cpp:13
Function
numIdenticalPairs
HashMap/Number of Good Pairs.cpp:99
Method
numIdenticalPairs
HashMap/Number of Good Pairs.cpp:13
Function
numIslands
Graph/Number of Islands.cpp:190
Method
numIslands
Graph/Number of Islands.cpp:36
Method
numMagicSquaresInside
Arrays/2-D Array/Magic Squares In Grid.cpp:58
Method
numMatchingSubseq
Arrays/Binary Search/Number of Matching Subsequences.cpp:11
Method
numMatchingSubseq
HashMap/Number of Matching Subsequences.cpp:23
Function
numMusicPlaylists
DP/Number of Music Playlists.cpp:44
Function
numOfArrays
DP/LIS & Variants/Build Array Where You Can Find The Maximum Exactly K Comparisons.cpp:103
Method
numOfArrays
DP/LIS & Variants/Build Array Where You Can Find The Maximum Exactly K Comparisons.cpp:44
Method
numOfMinutes
Tree/Time Needed to Inform All Employees.cpp:24
Function
numOfSubarrays
Arrays/Cumulative_Sum(Prefix Array)/Number of Sub-arrays With Odd Sum.cpp:156
Method
numOfSubarrays
Arrays/Cumulative_Sum(Prefix Array)/Number of Sub-arrays With Odd Sum.cpp:16
Method
numOfUnplacedFruits
Segment Tree/Fruits Into Baskets II and III.cpp:52
Function
numOfWays
DP/DP on Grids/Number of Ways to Paint N × 3 Grid.cpp:118
Method
numOfWays
Mathematical/Number of Ways to Reorder Array to Get Same BST.cpp:40
Method
numOfWays
DP/DP on Grids/Number of Ways to Paint N × 3 Grid.cpp:55
Method
numRabbits
HashMap/Rabbits in Forest.cpp:15
Method
numRescueBoats
Greedy/Boats to Save People.cpp:9
Function
numRollsToTarget
DP/Number of Dice Rolls With Target Sum.cpp:102
Method
numRollsToTarget
DP/Number of Dice Rolls With Target Sum.cpp:33
Method
numSimilarGroups
Graph/BFS_DFS/Similar String Groups.cpp:33
Method
numSimilarGroups
Graph/Disjoint Set/Similar String Groups.cpp:56
Function
numSpecial
Arrays/2-D Array/Leetcode Easy/Special Positions in a Binary Matrix.cpp:138
Method
numSpecial
Arrays/2-D Array/Leetcode Easy/Special Positions in a Binary Matrix.cpp:16
Function
numSquares
DP/Perfect Squares.cpp:178
Method
numSquares
DP/Perfect Squares.cpp:38
Method
numSteps
Bit_Magic/Number of Steps to Reduce a Number in Binary Representation to One.cpp:30
Function
numSub
strings/Number of Substrings With Only 1s.cpp:100
Method
numSub
strings/Number of Substrings With Only 1s.cpp:17
Method
numSubarrayBoundedMax
Sliding Window/Number of Subarrays with Bounded Maximum.cpp:87
Function
numSubarrayProductLessThanK
Sliding Window/Subarray Product Less Than K.cpp:45
Method
numSubarrayProductLessThanK
Sliding Window/Subarray Product Less Than K.cpp:14
Function
numSubarraysWithSum
Sliding Window/Binary Subarrays With Sum.cpp:120
Method
numSubarraysWithSum
Sliding Window/Binary Subarrays With Sum.cpp:16
Method
numSubarraysWithSum
Sliding Window/Binary Subarrays With Sum.cpp:87
← previous
next →
2,601–2,700 of 3,557, ranked by callers