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
↓ 1 callers
Function
numOnes
Arrays/Binary Search/The K Weakest Rows in a Matrix.cpp:192
↓ 1 callers
Function
numberOfWays
DP/Coin Change II.cpp:110
↓ 1 callers
Function
permuteUnique
Backtracking/Permutations II.cpp:109
↓ 1 callers
Function
printPrimes
Mathematical/Segmented Sieve.cpp:29
↓ 1 callers
Function
removeNodes
Linked List/Remove Nodes From Linked List.cpp:165
↓ 1 callers
Method
reverse
Arrays/2-D Array/Leetcode Easy/Matrix Similarity After Cyclic Shifts.cpp:128
↓ 1 callers
Method
reverse
HashMap/Count Nice Pairs in an Array.cpp:24
↓ 1 callers
Method
rotate
Arrays/2-D Array/Rotate Image.cpp:16
↓ 1 callers
Method
shortestDistanceColor
Arrays/Binary Search/Shortest Distance to Target Color.cpp:62
↓ 1 callers
Function
solve
DP/Coin Change II.cpp:16
↓ 1 callers
Function
solve
Backtracking/Tug_Of_War.cpp:31
↓ 1 callers
Method
swap
Recursion/Quick Sort.cpp:78
↓ 1 callers
Function
towDKadane
DP/Maximum Sum Rectangular Submatrix in Matrix dynamic programming(2-D kadane).cpp:48
↓ 1 callers
Method
union
Graph/Redundant Connection.cpp:290
↓ 1 callers
Method
union
Graph/BFS_DFS/Power Grid Maintenance.cpp:415
↓ 1 callers
Method
union
Graph/Disjoint Set/Maximum Number of Fish in a Grid.cpp:233
↓ 1 callers
Method
union
Graph/Disjoint Set/Count the Number of Complete Components.cpp:308
Method
AllOne
Design/All O`one Data Structure.cpp:57
Method
AllPossibleStrings
Recursion/Power Set.cpp:35
Method
BFS
BFS************************/
Graph/The Maze.cpp:76
Method
BFS
Graph/Maximum Employees to Be Invited to a Meeting.cpp:16
Method
BFS
Graph/Clone Graph.cpp:106
Method
BFS
Graph/The Maze II.cpp:105
Method
BFS
Graph/BFS_DFS/Similar String Groups.cpp:81
Method
BFS
Graph/BFS_DFS/Detonate the Maximum Bombs.cpp:74
Method
BFS
Graph/BFS_DFS/Find Minimum Diameter After Merging Two Trees.cpp:20
Method
BFS
DP/Game Strategy/Maximum Number of Moves to Kill All Pawns.cpp:17
Method
BFS
Tree/Time Needed to Inform All Employees.cpp:47
Method
Bank
Design/Simple Bank System.cpp:18
Method
BinarySearch
Arrays/Binary Search/Successful Pairs of Spells and Potions.cpp:55
Method
BrowserHistory
Design/Design Browser History.cpp:13
Method
Cell
Graph/Dijkstra'a Based Problems/Find Minimum Time to Reach Last Room II.cpp:76
Method
Check
Arrays/Binary Search/Minimum Number of Seconds to Make Mountain Height Zero.cpp:18
Method
Count
Recursion/K-th Smallest in Lexicographical Order.cpp:94
Method
CustomStack
Design/Design a Stack With Increment Operation.cpp:19
Method
DFS
Graph/Sum of Distances in Tree.cpp:32
Method
DFS
Graph/All Paths From Source to Target.cpp:11
Method
DFS
DFS************************/
Graph/The Maze.cpp:44
Method
DFS
Graph/Longest Path With Different Adjacent Characters.cpp:16
Method
DFS
Graph/Minimum Time to Collect All Apples in a Tree.cpp:11
Method
DFS
Graph/Clone Graph.cpp:11
Method
DFS
Graph/The Maze II.cpp:47
Method
DFS
Graph/Number of Nodes in the Sub-Tree With the Same Label.cpp:11
Method
DFS
Graph/Reconstruct Itinerary.cpp:36
Method
DFS
Graph/All Ancestors of a Node in a Directed Acyclic Graph.cpp:16
Method
DFS
Graph/Word Ladder II.cpp:40
Method
DFS
Graph/BFS_DFS/Similar String Groups.cpp:24
Method
DFS
Graph/BFS_DFS/Lexicographically Smallest Equivalent String.cpp:18
Method
DFS
Graph/BFS_DFS/Detonate the Maximum Bombs.cpp:11
Method
DFS
Graph/BFS_DFS/Making A Large Island.cpp:18
Method
DFS
Graph/Euler/Euler circuit and Path.cpp:12
Method
DFS
Graph/Topological Sorting/Course Schedule II.cpp:78
Method
DFS
Graph/Topological Sorting/Topological Sort (DFS).cpp:12
Method
DFS
DP/Minimum Path Sum.cpp:41
Method
DFS
DP/Maximum Profit from Trading Stocks with Discounts.cpp:16
Method
DFS
Trie/Word Search II.cpp:42
Method
DFS
Arrays/2-D Array/DFS/Minimum Number of Days to Disconnect Island.cpp:18
Method
DFS
Arrays/2-D Array/DFS/Pacific Atlantic Water Flow.cpp:24
Method
DFS
Tree/Maximum Width of Binary Tree.cpp:46
Method
DFS
Tree/Maximum Level Sum of a Binary Tree.cpp:58
Method
DFS
Tree/Find Largest Value in Each Tree Row.cpp:56
Method
DFS
Tree/Time Needed to Inform All Employees.cpp:14
Method
DFS
Tree/Find Duplicate Subtrees.cpp:11
Method
DFS
Backtracking/Path with Maximum Gold.cpp:17
Method
DFSAlice
Graph/BFS_DFS/Most Profitable Path in a Tree.cpp:39
Method
DFSBob
Graph/BFS_DFS/Most Profitable Path in a Tree.cpp:19
Function
DSU
Graph/BFS_DFS/Making A Large Island.cpp:484
Method
DSU
Graph/Redundant Connection.cpp:118
Method
DSU
Graph/BFS_DFS/Making A Large Island.cpp:202
Method
DSU
Graph/Disjoint Set/Disjoint set (Union-Find-Size).cpp:12
Method
DSU
Graph/Disjoint Set/Maximum Number of Fish in a Grid.cpp:18
Method
DSU
Graph/Disjoint Set/Greatest Common Divisor Traversal.cpp:18
Method
DSU
Graph/Disjoint Set/Remove Max Number of Edges to Keep Graph Fully Traversable.cpp:22
Method
DSU
Graph/Disjoint Set/Maximize Spanning Tree Stability with Upgrades.cpp:17
Method
DSU
Graph/Disjoint Set/Count the Number of Complete Components.cpp:125
Method
DSU
Graph/Disjoint Set/Count the Number of Complete Components.cpp:294
Method
DijkstraAlgo
Graph/Dijkstra'a Based Problems/Modify Graph Edge Weights.cpp:20
Method
Fancy
Mathematical/Fancy Sequence.cpp:39
Method
Find
Graph/BFS_DFS/Power Grid Maintenance.cpp:170
Method
FindElements
Tree/Find Elements in a Contaminated Binary Tree.cpp:25
Method
FindLength
Linked List/Swapping Nodes in a Linked List.cpp:11
Method
FindSumPairs
Design/Finding Pairs With a Certain Sum.cpp:18
Method
FirstNonRepeating
Linked List/Double Linked List/First non-repeating character in a stream .cpp:10
Method
FloydWarshall
Graph/Floyd Warshall/Minimum Cost to Convert String I.cpp:14
Method
FoodRatings
Design/Design a Food Rating System.cpp:21
Method
Graph
Graph/Dijkstra'a Based Problems/Design Graph With Shortest Path Calculator.cpp:18
Method
Graph
Graph/Floyd Warshall/Design Graph With Shortest Path Calculator.cpp:14
Method
IsAnyAncestorLocked
Condition-3 (Check if any ancestor is locked)
Design/Operations on Tree.cpp:56
Function
IsFoldable
Function to check whether a binary tree is foldable or not.
Tree/Foldable Binary Tree.cpp:25
Method
IsFoldable
Function to check whether a binary tree is foldable or not.
Tree/Foldable Binary Tree.cpp:40
Method
IsPossible
Arrays/Binary Search/Apply Operations to Maximize Frequency Score.cpp:12
Method
Item
DP/Knapsack Series/Fractional Knapsack.cpp:55
Method
Job
DP/Maximum Profit in Job Scheduling.cpp:297
Method
KMP_codestorywithMIK
strings/Find Beautiful Indices in the Given Array I.cpp:35
Method
KMP_codestorywithMIK
strings/Find Beautiful Indices in the Given Array II.cpp:37
Method
Kruskal
Graph/Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree.cpp:189
Method
Kruskal
Graph/Minimum Spanning Tree (Kruskal's Algorithm).cpp:38
Method
Kruskal
Graph/Min Cost to Connect All Points.cpp:160
Method
KthLargest
Heap/Kth Largest Element in a Stream.cpp:18
Method
LCA
Tree/Lowest Common Ancestor of Deepest Leaves.cpp:19
← previous
next →
401–500 of 3,557, ranked by callers