MCPcopy Create free account

hub / github.com/MAZHARMIK/Interview_DS_Algo / functions

Functions3,557 in github.com/MAZHARMIK/Interview_DS_Algo

MethodisIncreasing
Arrays/Leetcode Easy/Adjacent Increasing Subarrays Detection I.cpp:14
FunctionisInterleave
DP/Interleaving String.cpp:41
MethodisInterleave
DP/Interleaving String.cpp:83
FunctionisIsomorphic
HashMap/Isomorphic Strings.cpp:102
MethodisIsomorphic
HashMap/Isomorphic Strings.cpp:15
MethodisMagicGrid
Arrays/2-D Array/Magic Squares In Grid.cpp:16
MethodisMatch
Recursion/Regular Expression Matching.cpp:18
MethodisMonotonic
Arrays/Monotonic Array.cpp:10
MethodisNStraightHand
HashMap/Hand of Straights.cpp:14
MethodisNegativeWeightCycle
Graph/Bellman-Ford Based Problems/Negative weight cycle.cpp:9
MethodisNice
Sliding Window/Longest Nice Subarray.cpp:15
FunctionisOneBitCharacter
Arrays/Leetcode Easy/1-bit and 2-bit Characters.cpp:69
MethodisOneBitCharacter
Arrays/Leetcode Easy/1-bit and 2-bit Characters.cpp:14
MethodisPalindrome
Mathematical/Sum of k-Mirror Numbers.cpp:16
MethodisPalindrome
DP/DP on Strings/Palindrome Partitioning II.cpp:16
MethodisPalindrome
Linked List/Palindrome Linked List.cpp:14
MethodisPalindrome
Trie/Palindrome Pairs.cpp:47
MethodisPalindrome
HashMap/Palindrome Pairs.cpp:15
MethodisPalindrome
Backtracking/Palindrome Partitioning.cpp:19
MethodisPallindrome
Mathematical/Super_Palindromes.cpp:9
FunctionisPathCrossing
HashSet/Leetcode Easy/Path Crossing.cpp:51
MethodisPathCrossing
HashSet/Leetcode Easy/Path Crossing.cpp:14
MethodisPossible
Heap/Construct_Target_Array_With_Multiple_Sums.cpp:11
MethodisPossible
Arrays/Binary Search/Minimum Limit of Balls in a Bag.cpp:16
MethodisPossible
Arrays/Binary Search/Minimum Initial Energy to Finish Tasks.cpp:17
MethodisPossible
Arrays/Binary Search/Apply Operations to Maximize Frequency Score.cpp:81
MethodisPossible
Arrays/Binary Search/House Robber IV.cpp:50
MethodisPossible
Arrays/Binary Search/Minimum Time to Repair Cars.cpp:18
MethodisPossible
Arrays/Binary Search/Maximize the Minimum Game Score.cpp:17
MethodisPossible
Greedy/Split Array into Consecutive Subsequences.cpp:21
FunctionisPowerOfFour
Mathematical/Power of Four.cpp:85
MethodisPowerOfFour
Mathematical/Power of Four.cpp:12
MethodisPowerOfThree
Mathematical/Leetcode Easy/Power of Three.cpp:33
MethodisPowerOfTwo
Bit_Magic/Leetcode Easy/Power of Two.cpp:15
MethodisPrefixAndSuffix
Trie/Count Prefix and Suffix Pairs I.cpp:16
MethodisPrime
Mathematical/Closest Prime Numbers in Range.cpp:66
MethodisSafe
DP/Number of Increasing Paths in a Grid.cpp:26
MethodisSafe
DP/Cherry Pickup II.cpp:17
MethodisSafe
Arrays/2-D Array/Shortest Bridge.cpp:28
MethodisSafe
Recursion/Rat in a Maze Problem - I.cpp:14
MethodisSame
Greedy/Lexicographically Smallest Generated String.cpp:15
MethodisSameTree
Tree/Same Tree.cpp:14
MethodisScramble
DP/Scramble String.cpp:57
MethodisSet
T.C : O(log(n)) S.C : O(1)
Bit_Magic/Minimize XOR.cpp:16
MethodisSimilar
Graph/BFS_DFS/Similar String Groups.cpp:11
MethodisSimilar
Graph/Disjoint Set/Similar String Groups.cpp:42
MethodisSorted
Arrays/Leetcode Easy/Minimum Pair Removal to Sort Array I.cpp:68
MethodisSubPath
Tree/Linked List in Binary Tree.cpp:28
MethodisSubsequence
strings/Is Subsequence.cpp:16
MethodisSubsequence
HashMap/Number of Matching Subsequences.cpp:9
MethodisSubsequence
Backtracking/Longest Subsequence Repeated k Times.cpp:17
MethodisSubset
strings/Word Subsets.cpp:14
FunctionisSubsetSum
DP/Knapsack Series/Subset Sum Problem.cpp:179
MethodisSubsetSum
DP/Knapsack Series/Subset Sum Problem.cpp:38
MethodisSubsetSum
DP/Knapsack Series/Partition Equal Subset Sum (Bottom UP & Memo).cpp:16
MethodisSubtree
Tree/Subtree of Another Tree.cpp:20
MethodisSymmetric
Tree/Symmetric Tree.cpp:22
MethodisToeplitzMatrix
Arrays/2-D Array/Toeplitz Matrix.cpp:11
MethodisTrionic
Arrays/Leetcode Easy/Trionic Array I.cpp:15
MethodisUgly
Mathematical/Ugly Number.cpp:9
MethodisUgly
DP/Ugly Number II.cpp:16
MethodisUnset
Bit_Magic/Minimize XOR.cpp:75
MethodisValid
strings/Restore IP Addresses.cpp:12
MethodisValid
strings/Easy Tagged/Valid Word.cpp:14
MethodisValid
DP/Longest Turbulent Subarray.cpp:45
MethodisValid
DP/DP on Grids/Number of Paths with Max Score.cpp:24
MethodisValid
Arrays/Leetcode Easy/Make Array Elements Equal to Zero.cpp:14
MethodisValid
Arrays/Binary Search/Minimize the Maximum Difference of Pairs.cpp:23
MethodisValid
Arrays/Binary Search/Minimize Maximum of Array.cpp:11
MethodisValid
Backtracking/N-Queens.cpp:26
MethodisValid
Backtracking/Generate Parentheses.cpp:15
MethodisValid
Backtracking/Sudoku Solver.cpp:17
MethodisValid
Stack/Valid Parentheses.cpp:10
MethodisValid
Greedy/Earliest Second to Mark Indices I.cpp:15
MethodisValidCover
Graph/Vertex Cover.cpp:16
MethodisValidString
DP/Valid Parenthesis String.cpp:190
MethodisValidSudoku
Arrays/2-D Array/Valid Sudoku.cpp:25
MethodisVowel
strings/Sort Vowels in a String.cpp:12
MethodisVowel
strings/Determine if String Halves Are Alike.cpp:13
MethodisVowel
strings/Count Beautiful Substrings II.cpp:13
MethodisVowel
strings/Count Beautiful Substrings I.cpp:13
MethodisVowel
Arrays/Cumulative_Sum(Prefix Array)/Count Vowel Strings in Ranges.cpp:14
MethodisVowel
Arrays/Two Pointer/Reverse Vowels of a String.cpp:11
MethodisVowel
HashMap/Vowel Spellchecker.cpp:113
MethodisVowel
Sliding Window/Count of Substrings Containing Every Vowel and K Consonants II.cpp:15
MethodisVowel
Sliding Window/Maximum Number of Vowels in a Substring of Given Length.cpp:10
MethodisZeroArray
Arrays/Difference Array Technique/Zero Array Transformation I.cpp:15
FunctionislandPerimeter
Graph/Island Perimeter.cpp:240
MethodislandPerimeter
Graph/Island Perimeter.cpp:38
FunctionjobScheduling
DP/Maximum Profit in Job Scheduling.cpp:258
MethodjobScheduling
DP/Maximum Profit in Job Scheduling.cpp:52
MethodjudgeCircle
strings/Easy Tagged/Robot Return to Origin.cpp:14
MethodjudgePoint24
Backtracking/24 Game.cpp:60
FunctionjudgeSquareSum
Mathematical/Sum of Square Numbers.cpp:130
MethodjudgeSquareSum
Mathematical/Sum of Square Numbers.cpp:15
MethodkInversePairs
DP/K Inverse Pairs Array.cpp:36
MethodkLengthApart
Arrays/Leetcode Easy/Check If All 1's Are at Least Length K Places Away.cpp:14
MethodkMirror
Mathematical/Sum of k-Mirror Numbers.cpp:45
MethodkSmallestPairs
Heap/Find K Pairs with Smallest Sums.cpp:14
MethodkSum
Arrays/4Sum(kSum).cpp:164
← previousnext →1,801–1,900 of 3,557, ranked by callers