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
check
DP/Palindromic Substrings.cpp:41
Method
check
DP/DP on Strings/Palindromic Substrings.cpp:17
Method
check
DP/DP on Strings/Palindromic Substrings.cpp:159
Method
check
Arrays/Arithmetic Subarrays.cpp:13
Method
check
Arrays/Leetcode Easy/Check if Array Is Sorted and Rotated.cpp:14
Method
check
Arrays/Leetcode Easy/Convert Integer to the Sum of Two No-Zero Integers.cpp:15
Method
check
Arrays/Binary Search/Maximize the Distance Between Points on a Square.cpp:19
Method
check
Arrays/Binary Search/Maximize the Minimum Powered City.cpp:17
Method
check
Arrays/Binary Search/Minimize the Maximum Adjacent Element Difference.cpp:16
Method
check
Arrays/Binary Search/Maximum Number of Tasks You Can Assign.cpp:16
Method
check
Arrays/Binary Search/Minimum Number of Seconds to Make Mountain Height Zero.cpp:61
Method
check
Arrays/Binary Search/Separate Squares I.cpp:16
Method
check
Arrays/Binary Search/Find the Safest Path in a Grid.cpp:18
Method
check
Tree/Linked List in Binary Tree.cpp:16
Method
check
Tree/Symmetric Tree.cpp:10
Method
check
Tree/Subtree of Another Tree.cpp:9
Method
check
HashSet/Leetcode Easy/Minimum Number of Operations to Make Elements in Array Distinct.cpp:16
Method
check
Sliding Window/Substring with Concatenation of All Words.cpp:15
Method
check
Stack/Remove All Occurrences of a Substring.cpp:39
Method
check
Recursion/Find the Punishment Number of an Integer.cpp:15
Method
checkAnagram
strings/Easy Tagged/Find Resultant Array After Removing Anagrams.cpp:16
Method
checkArithmeticSubarrays
Arrays/Arithmetic Subarrays.cpp:27
Method
checkBalanced
Arrays/Two Pointer/Longest Balanced Substring I.cpp:16
Method
checkBipartiteBFS
Graph/Bipartite Graph.cpp:62
Method
checkBipartiteDFS
Graph/Bipartite Graph.cpp:14
Method
checkColPainted
Arrays/2-D Array/First Completely Painted Row or Column.cpp:26
Method
checkDescendents
Condition-2 (Atleast one descendent should be locked)
Design/Operations on Tree.cpp:42
Method
checkForMatch
HashMap/Vowel Spellchecker.cpp:37
Method
checkFreq
strings/Buddy Strings.cpp:9
Method
checkHorCuts
Arrays/Cumulative_Sum(Prefix Array)/Equal Sum Grid Partition II.cpp:18
Function
checkIfExist
Arrays/Leetcode Easy/Check If N and Its Double Exist.cpp:124
Method
checkIfExist
Arrays/Leetcode Easy/Check If N and Its Double Exist.cpp:15
Function
checkIfPangram
strings/Check if the Sentence Is Pangram.cpp:65
Method
checkIfPangram
strings/Check if the Sentence Is Pangram.cpp:14
Method
checkIfPrerequisite
Graph/Topological Sorting/Course Schedule IV.cpp:33
Method
checkIn
Design/Design Underground System.cpp:16
Function
checkInclusion
Sliding Window/Permutation in String.cpp:191
Method
checkInclusion
Sliding Window/Permutation in String.cpp:37
Method
checkLCP
DP/DP on Strings/Find the String with LCP.cpp:72
Method
checkOne
This is called for all node and hence Time : O(n^2)
Tree/Binary Tree Pruning.cpp:17
Function
checkOnesSegment
strings/Easy Tagged/Check if Binary String Has at Most One Segment of Ones.cpp:83
Method
checkOnesSegment
strings/Easy Tagged/Check if Binary String Has at Most One Segment of Ones.cpp:15
Method
checkOut
Design/Design Underground System.cpp:20
Method
checkOverlap
Arrays/Intervals_Based_Qn/My Calendar II.cpp:18
Method
checkPossibility
Arrays/Non-decreasing_Array.cpp:9
Function
checkPowersOfThree
Mathematical/Check if Number is a Sum of Powers of Three.cpp:118
Method
checkPowersOfThree
Mathematical/Check if Number is a Sum of Powers of Three.cpp:15
Function
checkRecord
DP/Student Attendance Record II.cpp:127
Method
checkRecord
DP/Student Attendance Record II.cpp:38
Method
checkRowPainted
Arrays/2-D Array/First Completely Painted Row or Column.cpp:16
Method
checkStrings
HashMap/Check if Strings Can be Made Equal With Operations II.cpp:15
Method
checkSubIsland
DFS
Arrays/2-D Array/Count Sub Islands.cpp:17
Method
checkSubarraySum
Arrays/Cumulative_Sum(Prefix Array)/Continuous Subarray Sum.cpp:9
Method
checkValidCode
HashMap/Leetcode Easy/Coupon Code Validator.cpp:16
Method
checkValidCuts
Arrays/Intervals_Based_Qn/Check if Grid can be Cut into Sections.cpp:36
Function
checkValidString
DP/Valid Parenthesis String.cpp:222
Method
checkValidString
DP/Valid Parenthesis String.cpp:43
Method
checkWithDifferenceArrayTeq
Arrays/Difference Array Technique/Zero Array Transformation II.cpp:18
Method
checkhammingDistanceOne
DP/LIS & Variants/Longest Unequal Adjacent Groups Subsequence II.cpp:18
Function
cherryPickup
DP/Cherry Pickup II.cpp:215
Method
cherryPickup
DP/Cherry Pickup II.cpp:52
Method
child1Collect
Can only move diagonally
DP/DP on Grids/Find the Maximum Number of Fruits Collected.cpp:19
Method
child2Collect
DP/DP on Grids/Find the Maximum Number of Fruits Collected.cpp:29
Method
child3Collect
DP/DP on Grids/Find the Maximum Number of Fruits Collected.cpp:52
Function
clearDigits
Stack/Easy/Clear Digits.cpp:138
Method
clearDigits
Stack/Easy/Clear Digits.cpp:15
Function
clearStars
Heap/Lexicographically Minimum String After Removing Stars.cpp:68
Method
clearStars
Heap/Lexicographically Minimum String After Removing Stars.cpp:27
Method
climbStairs
DP/Climbing Stairs.cpp:27
Method
climbStairs
DP/1-D DP/Climbing Stairs.cpp:27
Method
cloneGraph
Graph/Clone Graph.cpp:25
Method
closeStrings
strings/Determine if Two Strings Are Close.cpp:12
Method
closedIsland
Arrays/2-D Array/DFS/Number of Closed Islands.cpp:31
Function
closestMeetingNode
Graph/BFS_DFS/Find Closest Node to Given Two Nodes.cpp:188
Method
closestMeetingNode
Graph/BFS_DFS/Find Closest Node to Given Two Nodes.cpp:38
Function
closestPrimes
Mathematical/Closest Prime Numbers in Range.cpp:172
Method
closestPrimes
Mathematical/Closest Prime Numbers in Range.cpp:33
Method
closestTarget
Arrays/Leetcode Easy/Shortest Distance to Target String in a Circular Array.cpp:14
Method
cmp
Function to get the maximum total value in the knapsack.
Greedy/Fractional Knapsack.cpp:10
Method
coinChange
DP/Coin_Change_(3 Approaches).cpp:92
Method
collectKDistanceNodes
Tree/All Nodes Distance K in Binary Tree.cpp:26
Method
collectNodeWithHeight
ordered map will give the result in desired order
Tree/Find Leaves Of Binary Tree.cpp:32
Method
collectPaths
Tree/Path Sum II.cpp:18
Function
colorTheGrid
DP/Painting a Grid With Three Different Colors.cpp:137
Method
colorTheGrid
DP/Painting a Grid With Three Different Colors.cpp:65
Function
coloredCells
Mathematical/Count Total Number of Colored Cells.cpp:64
Method
coloredCells
Mathematical/Count Total Number of Colored Cells.cpp:15
Method
combi
DP/Coin Change II.cpp:47
Method
combinationSum2
Backtracking/Combination Sum II.cpp:31
Method
combinationSum3
Backtracking/Combination Sum III.cpp:26
Method
combinationSum4
Backtracking/Combination Sum IV.cpp:37
Method
combine
Backtracking/Combinations.cpp:25
Method
commonChars
Arrays/Leetcode Easy/Find Common Characters.cpp:20
Method
commonFactor
Graph/Largest_Component_Size_by_Common_Factor.cpp:9
Method
comparator
Arrays/Sort Array By Parity.cpp:31
Function
compare
Arrays/Sort Array By Parity.cpp:92
Method
compareJobs
DP/Maximum Profit in Job Scheduling.cpp:304
Function
compareVersion
strings/Compare Version Numbers.cpp:94
Method
compareVersion
strings/Compare Version Numbers.cpp:24
Method
complexNumberMultiply
strings/Complex Number Multiplication.cpp:22
← previous
next →
901–1,000 of 3,557, ranked by callers