Most Stones Removed with Same Row or Column (LeetCode 947) – Part 2
MediumLeetCode 947 · DSU · Google, Amazon +8 · 34:23Most Stones Removed with Same Row or Column · Using DSU · DRY RUN · Leetcode 947My notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution (part 2 of 2) for LeetCode 947 Most Stones Removed with Same Row or Column by codestorywithMIK: Graphs, Medium. Topics: Hash Table, Depth-First Search, Union-Find, Graph Theory. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- medium
- Topics
- Hash Table, Depth-First Search, Union-Find, Graph Theory, Bipartite Graph
- Patterns
- DSU
- Chapter
- Graphs
- Duration
- 34:23
Related problems
- Detect Cycle using DSU - (Google, Microsoft)
- Count Unreachable Pairs of Nodes in an Undirected Graph (LeetCode 2316)
- Number of Good Paths (LeetCode 2421)
- Similar String Groups (LeetCode 839)
- Checking Existence of Edge Length Limited Paths (LeetCode 1697)
- Remove Max Number Of Edges To Keep Graph Fully Traversable (LeetCode 1579)
- Validate Binary Tree Nodes (LeetCode 1361)
- Minimum Cost Walk in Weighted Graph (LeetCode 3108)