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
findKthNumber
Recursion/K-th Smallest in Lexicographical Order.cpp:31
Method
findKthPositive
Arrays/Binary Search/Kth Missing Positive Number.cpp:11
Method
findLCA
Binary Lifting/Number of Ways to Assign Edge Weights II.cpp:44
Method
findLCS
DP/Printing All Longest Common Subsequences.cpp:18
Method
findLHS
Arrays/Leetcode Easy/Longest Harmonious Subsequence.cpp:16
Method
findLadders
Graph/Word Ladder II.cpp:56
Method
findLargestIsland
Graph/BFS_DFS/Making A Large Island.cpp:32
Method
findLastPosition
Arrays/Binary Search/Find First and Last Position of Element in Sorted Array.cpp:109
Function
findLeastNumOfUniqueInts
Greedy/Least Number of Unique Integers after K Removals.cpp:128
Method
findLeastNumOfUniqueInts
Greedy/Least Number of Unique Integers after K Removals.cpp:15
Method
findLeaves
Tree/Find Leaves Of Binary Tree.cpp:44
Method
findLeftMostZero
Segment Tree/Longest Balanced Subarray II.cpp:102
Method
findLength
DP/Maximum_Length_of_Repeated_Subarray.cpp:57
Method
findLengthOfShortestSubarray
Arrays/Two Pointer/Shortest Subarray to be Removed to Make Array Sorted.cpp:15
Function
findLexSmallestString
Graph/BFS_DFS/Lexicographically Smallest String After Applying Operations.cpp:207
Method
findLexSmallestString
Graph/BFS_DFS/Lexicographically Smallest String After Applying Operations.cpp:24
Method
findLocalMax
Arrays/2-D Array/Leetcode Easy/Largest Local Values in a Matrix.cpp:15
Function
findLongestChain
DP/LIS & Variants/Maximum Length of Pair Chain.cpp:41
Method
findLongestChain
DP/LIS & Variants/Maximum Length of Pair Chain.cpp:54
Function
findLucky
HashMap/Leetcode Easy/Find Lucky Integer in an Array.cpp:109
Method
findLucky
HashMap/Leetcode Easy/Find Lucky Integer in an Array.cpp:16
Method
findMatrix
Arrays/2-D Array/Convert an Array Into a 2D Array With Conditions.cpp:13
Method
findMax
Sliding Window/Maximize the Confusion of an Exam.cpp:14
Method
findMax
Sliding Window/Longest Subarray of 1's After Deleting One Element.cpp:14
Method
findMaxConsecutiveOnes
Arrays/Max Consecutive Ones II.cpp:33
Method
findMaxDiff
Tree/Maximum difference between node and its ancestor.cpp:29
Function
findMaxFish
Graph/Disjoint Set/Maximum Number of Fish in a Grid.cpp:266
Method
findMaxFish
Graph/Disjoint Set/Maximum Number of Fish in a Grid.cpp:66
Function
findMaxForm
DP/Ones and Zeroes.cpp:152
Method
findMaxForm
DP/Ones and Zeroes.cpp:33
Function
findMaxK
Arrays/Leetcode Easy/Largest Positive Integer That Exists With Its Negative.cpp:131
Method
findMaxK
Arrays/Leetcode Easy/Largest Positive Integer That Exists With Its Negative.cpp:14
Method
findMaxLength
Arrays/Cumulative_Sum(Prefix Array)/Contiguous Array.cpp:19
Method
findMaxLessThanK
DP/Max Sum of Rectangle No Larger Than K.cpp:11
Method
findMaxPathScore
Graph/Dijkstra'a Based Problems/Network Recovery Pathways.cpp:57
Method
findMaxSum
Heap/Choose K Elements With Maximum Sum.cpp:15
Method
findMaxUtil
Tree/Maximum difference between node and its ancestor.cpp:19
Method
findMaximizedCapital
Heap/IPO.cpp:15
Function
findMaximumNumber
Bit_Magic/Maximum Number That Sum of the Prices Is Less Than or Equal to K.cpp:147
Method
findMaximumNumber
Bit_Magic/Maximum Number That Sum of the Prices Is Less Than or Equal to K.cpp:33
Function
findMaximumXOR
Bit_Magic/Maximum XOR of Two Numbers in an Array.cpp:131
Function
findMedian
Design/Find Median from Data Stream.cpp:124
Method
findMedian
Design/Find Median from Data Stream.cpp:37
Method
findMedianSortedArrays
Arrays/Binary Search/Median of Two Sorted Arrays.cpp:13
Method
findMin
Arrays/Binary Search/Find Minimum in Rotated Sorted Array II.cpp:14
Method
findMin
Arrays/Binary Search/Find Minimum in Rotated Sorted Array.cpp:24
Function
findMinArrowShots
Greedy/Minimum Number of Arrows to Burst Balloons.cpp:137
Method
findMinArrowShots
Greedy/Minimum Number of Arrows to Burst Balloons.cpp:19
Method
findMinDifference
Arrays/Minimum Time Difference.cpp:16
Method
findMinHeightTrees
Graph/Topological Sorting/Minimum Height Trees.cpp:16
Function
findMissingAndRepeatedValues
Mathematical/Leetcode Easy/Find Missing and Repeated Values.cpp:129
Method
findMissingAndRepeatedValues
Mathematical/Leetcode Easy/Find Missing and Repeated Values.cpp:15
Function
findMode
Tree/BST/Find Mode in Binary Search Tree.cpp:106
Method
findMode
Tree/BST/Find Mode in Binary Search Tree.cpp:24
Method
findNextGreater
Mathematical/Apply Operations to Maximize Score.cpp:80
Method
findNumberOfLIS
DP/Number of Longest Increasing Subsequence.cpp:10
Function
findNumbers
Arrays/Leetcode Easy/Find Numbers With Even Number Of Digits.cpp:150
Method
findNumbers
Arrays/Leetcode Easy/Find Numbers With Even Number Of Digits.cpp:23
Method
findOrder
Graph/Topological Sorting/Course Schedule II.cpp:50
Method
findOriginalArray
Arrays/Find Original Array From Doubled Array.cpp:10
Method
findOverlappedRegion
Arrays/Intervals_Based_Qn/My Calendar II.cpp:22
Method
findPath
Tree/Step-By-Step Directions From a Binary Tree Node to Another.cpp:32
Method
findPath
Recursion/Rat in a Maze Problem - I.cpp:50
Function
findPaths
DP/Out of Boundary Paths.cpp:185
Method
findPaths
DP/Out of Boundary Paths.cpp:44
Method
findPermutation
Backtracking/Find the Minimum Cost Array Permutation.cpp:41
Method
findPivot
Arrays/Binary Search/Find Minimum in Rotated Sorted Array.cpp:9
Method
findPower
Binary exponentiation T.C : O(log(b))
Mathematical/Count the Number of Arrays with K Matching Adjacent Elements.cpp:17
Method
findPower
Mathematical/Count Good Numbers.cpp:17
Method
findPower
Mathematical/Apply Operations to Maximize Score.cpp:17
Method
findPower
Mathematical/Count the Number of Ideal Arrays.cpp:38
Method
findPower
Binary exponentian
DP/DP on Strings/Count Number of Balanced Permutations.cpp:51
Method
findPower
DP/Digit DP/Find Sum of Array Product of Magical Sequences.cpp:66
Method
findPrevGreater
Mathematical/Apply Operations to Maximize Score.cpp:97
Method
findPrimeScores
Mathematical/Apply Operations to Maximize Score.cpp:48
Function
findRedundantConnection
Graph/Redundant Connection.cpp:247
Method
findRedundantConnection
Graph/Redundant Connection.cpp:35
Function
findRelativeRanks
Arrays/Leetcode Easy/Relative Ranks.cpp:181
Method
findRelativeRanks
Arrays/Leetcode Easy/Relative Ranks.cpp:14
Method
findRightInterval
Arrays/Intervals_Based_Qn/Find Right Interval.cpp:9
Method
findRoot
HashSet/Replace Words.cpp:16
Function
findRotateSteps
Graph/Dijkstra'a Based Problems/Freedom Trail.cpp:82
Function
findRotateSteps
DP/DP on Strings/Freedom Trail.cpp:137
Method
findRotateSteps
Graph/Dijkstra'a Based Problems/Freedom Trail.cpp:23
Method
findRotateSteps
DP/DP on Strings/Freedom Trail.cpp:48
Method
findRotation
Arrays/2-D Array/Leetcode Easy/Determine Whether Matrix Can Be Obtained By Rotation.cpp:32
Function
findSafeWalk
Graph/Dijkstra'a Based Problems/Find a Safe Walk Through a Grid.cpp:140
Method
findSafeWalk
Graph/Dijkstra'a Based Problems/Find a Safe Walk Through a Grid.cpp:17
Function
findScore
Heap/Find Score of an Array After Marking All Elements.cpp:145
Method
findScore
Heap/Find Score of an Array After Marking All Elements.cpp:14
Method
findSequences
Backtracking/Letter Tile Possibilities.cpp:53
Method
findSets
Mathematical/Count the Number of Ideal Arrays.cpp:16
Method
findSmallestInteger
Mathematical/Smallest Missing Non-negative Integer After Operations.cpp:17
Method
findSmallestSetOfVertices
Graph/Minimum Number of Vertices to Reach All Nodes.cpp:9
Function
findSpecialInteger
Arrays/Element Appearing More Than 25% In Sorted Array.cpp:132
Method
findSpecialInteger
Arrays/Element Appearing More Than 25% In Sorted Array.cpp:14
Method
findSubsequences
Backtracking/Non-decreasing Subsequences.cpp:32
Method
findSubstring
Sliding Window/Substring with Concatenation of All Words.cpp:34
Method
findSum
Design/Map Sum Pairs.cpp:63
Method
findSwapValues
Arrays/Swapping pairs make sum equal.cpp:34
← previous
next →
1,401–1,500 of 3,557, ranked by callers