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
findTargetSumWays
DP/Target Sum.cpp:226
Method
findTargetSumWays
DP/Target Sum.cpp:38
Method
findTheCity
Graph/Dijkstra'a Based Problems/Find the City With the Smallest Number of Neighbors at a Threshold Distance.cpp:68
Method
findTheCity
Graph/Bellman-Ford Based Problems/Find the City With the Smallest Number of Neighbors at a Threshold Distance.cpp:64
Method
findTheCity
Graph/Floyd Warshall/Find the City With the Smallest Number of Neighbors at a Threshold Distance.cpp:54
Function
findTheDifference
strings/Easy Tagged/Find the Difference.cpp:76
Method
findTheDifference
strings/Easy Tagged/Find the Difference.cpp:13
Function
findTheLongestSubstring
Sliding Window/Find the Longest Substring Containing Vowels in Even Counts.cpp:187
Method
findTheLongestSubstring
Sliding Window/Find the Longest Substring Containing Vowels in Even Counts.cpp:20
Function
findThePrefixCommonArray
Arrays/Find the Prefix Common Array of Two Arrays.cpp:142
Method
findThePrefixCommonArray
Arrays/Find the Prefix Common Array of Two Arrays.cpp:15
Function
findTheString
DP/DP on Strings/Find the String with LCP.cpp:286
Method
findTheString
DP/DP on Strings/Find the String with LCP.cpp:31
Function
findTheWinner
Recursion/Find the Winner of the Circular Game.cpp:121
Method
findTheWinner
Recursion/Find the Winner of the Circular Game.cpp:17
Method
findTopXSum
freq, element
Heap/Leetcode Easy/Find X-Sum of All K-Long Subarrays I.cpp:16
Method
findTotalSum
Tree/Maximum Product of Splitted Binary Tree.cpp:18
Method
findWaiveScore
Mathematical/Total Waviness of Numbers in Range I.cpp:14
Method
findWinnerIdx
Recursion/Find the Winner of the Circular Game.cpp:71
Method
findWinners
HashMap/Find Players With Zero or One Losses.cpp:13
Method
findWords
Trie/Word Search II.cpp:61
Method
findWordsContaining
Arrays/Leetcode Easy/Find Words Containing Character.cpp:14
Method
findXSum
Heap/Leetcode Easy/Find X-Sum of All K-Long Subarrays I.cpp:39
Method
findXSum
Sliding Window/Find X-Sum of All K-Long Subarrays II.cpp:51
Method
find_first_position
Arrays/Binary Search/Find First and Last Position of Element in Sorted Array.cpp:13
Method
find_last_position
Arrays/Binary Search/Find First and Last Position of Element in Sorted Array.cpp:31
Method
find_pivot
Arrays/Binary Search/Search in Rotated Sorted Array.cpp:11
Function
firstCompleteIndex
Arrays/2-D Array/First Completely Painted Row or Column.cpp:214
Method
firstCompleteIndex
Arrays/2-D Array/First Completely Painted Row or Column.cpp:36
Method
firstCompleteIndex
Arrays/2-D Array/First Completely Painted Row or Column.cpp:251
Method
firstMissingPositive
Arrays/First Missing Positive.cpp:16
Method
firstOccur
Arrays/Element Appearing More Than 25% In Sorted Array.cpp:60
Function
firstPalindrome
strings/Easy Tagged/Find First Palindromic String in the Array.cpp:72
Method
firstPalindrome
strings/Easy Tagged/Find First Palindromic String in the Array.cpp:14
Function
firstUniqChar
strings/Easy Tagged/First Unique Character in a String.cpp:36
Method
firstUniqChar
strings/Easy Tagged/First Unique Character in a String.cpp:13
Method
flatten
Linked List/Flattening a Linked List.cpp:70
Method
flatten
Linked List/Flatten a Multilevel Doubly Linked List.cpp:9
Method
flattenBST
Recursion/Flatten BST to sorted list.cpp:13
Method
flipEquiv
Tree/Flip Equivalent Binary Trees.cpp:15
Method
flowerGame
Mathematical/Alice and Bob Playing Flower Game.cpp:15
Method
floydWarshall
Graph/Floyd Warshall/Find the City With the Smallest Number of Neighbors at a Threshold Distance.cpp:19
Method
for
Line Sweep Technique/Corporate Flight Bookings.cpp:64
Method
forward
Design/Design Browser History.cpp:40
Method
forwardPacket
Design/Implement Router.cpp:56
Method
fourSum
Arrays/4Sum(kSum).cpp:41
Method
fractionAddition
strings/Fraction Addition and Subtraction.cpp:14
Method
fractionToDecimal
Mathematical/Fraction to Recurring Decimal.cpp:15
Function
fractionalKnapsack
DP/Knapsack Series/Fractional Knapsack.cpp:62
Method
fractionalKnapsack
DP/Knapsack Series/Fractional Knapsack.cpp:15
Method
fractionalKnapsack
Greedy/Fractional Knapsack.cpp:14
Method
frequencySort
Heap/Sort Characters By Frequency.cpp:13
Function
fullBloomFlowers
Arrays/Binary Search/Number of Flowers in Full Bloom.cpp:108
Method
fullBloomFlowers
Arrays/Binary Search/Number of Flowers in Full Bloom.cpp:13
Function
fullJustify
strings/Text Justification.cpp:38
Method
func
DP/Digit DP/Total Waviness of Numbers in Range II.cpp:70
Function
furthestBuilding
Heap/Furthest Building You Can Reach.cpp:152
Function
furthestBuilding
DP/Furthest Building You Can Reach.cpp:90
Method
furthestBuilding
Heap/Furthest Building You Can Reach.cpp:13
Method
furthestBuilding
DP/Furthest Building You Can Reach.cpp:46
Method
furthestDistanceFromOrigin
strings/Easy Tagged/Furthest Point From Origin.cpp:14
Function
garbageCollection
Arrays/Cumulative_Sum(Prefix Array)/Minimum Amount of Time to Collect Garbage.cpp:60
Method
garbageCollection
Arrays/Cumulative_Sum(Prefix Array)/Minimum Amount of Time to Collect Garbage.cpp:13
Method
gcd
strings/Fraction Addition and Subtraction.cpp:126
Method
gcd
Linked List/Insert Greatest Common Divisors in Linked List.cpp:71
Method
gcd
Stack/Replace Non-Coprime Numbers in Array.cpp:72
Method
gcd
Greedy/Minimum Number of Operations to Make All Array Elements Equal to 1.cpp:89
Method
generate
Graph/BFS_DFS/Numbers With Same Consecutive Differences.cpp:10
Method
generate
DP/LIS & Variants/Largest Divisible Subset.cpp:16
Method
generate
Arrays/Group Anagrams.cpp:42
Method
generate
Arrays/Pascal's Triangle.cpp:11
Method
generate
Backtracking/Subsets II.cpp:8
Method
generate
Backtracking/Combination Sum III.cpp:10
Method
generate
Backtracking/Generate Parentheses.cpp:115
Method
generateColumnStates
Recursively generate all valid column colorings of height 'rows' such that no two vertically adjacent cells have the same color
DP/Painting a Grid With Three Different Colors.cpp:21
Method
generateMatrix
Arrays/2-D Array/Spiral Matrix II.cpp:10
Method
generateParenthesis
Backtracking/Generate Parentheses.cpp:46
Method
generateString
Greedy/Lexicographically Smallest Generated String.cpp:27
Function
generateTrees
DP/Unique Binary Search Trees II.cpp:108
Function
get
Design/Design HashMap.cpp:157
Method
get
Design/Design HashMap.cpp:28
Method
get
Design/LFU Cache.cpp:40
Method
get
Design/Time Based Key-Value Store.cpp:18
Method
get
Design/Snapshot Array.cpp:41
Method
get1D
Arrays/Binary Search/Maximize the Distance Between Points on a Square.cpp:79
Method
getAdj
Graph/Maximize the Number of Target Nodes After Connecting Trees II.cpp:16
Method
getAverageTime
Design/Design Underground System.cpp:31
Method
getAverages
Arrays/Cumulative_Sum(Prefix Array)/K Radius Subarray Averages.cpp:12
Method
getAverages
Sliding Window/K Radius Subarray Averages.cpp:14
Function
getBiggestThree
Arrays/2-D Array/Get Biggest Three Rhombus Sums in a Grid.cpp:207
Method
getBiggestThree
Arrays/2-D Array/Get Biggest Three Rhombus Sums in a Grid.cpp:15
Method
getBits
Bit_Magic/Maximum Number That Sum of the Prices Is Less Than or Equal to K.cpp:59
Method
getCityWithFewestReachable
Graph/Dijkstra'a Based Problems/Find the City With the Smallest Number of Neighbors at a Threshold Distance.cpp:47
Method
getCityWithFewestReachable
Graph/Bellman-Ford Based Problems/Find the City With the Smallest Number of Neighbors at a Threshold Distance.cpp:44
Method
getCityWithFewestReachable
Graph/Floyd Warshall/Find the City With the Smallest Number of Neighbors at a Threshold Distance.cpp:34
Method
getClosestIndex
Arrays/Binary Search/Shortest Distance to Target Color.cpp:45
Function
getCommon
Arrays/Leetcode Easy/Minimum Common Value.cpp:134
Method
getCommon
Arrays/Leetcode Easy/Minimum Common Value.cpp:15
Method
getComplex
strings/Complex Number Multiplication.cpp:18
Method
getCoord
DP/Minimum Distance to Type a Word Using Two Fingers.cpp:78
← previous
next →
1,501–1,600 of 3,557, ranked by callers