Tag: a-union-find
All the articles with the tag "a-union-find".
-
LeetCode 785 Is Graph Bipartite
Solutions for LeetCode 785, medium, tags: graph, depth-first search, breadth-first search, union find.
-
LeetCode 323 Number of Connected Components in an Undirected Graph
Solutions for LeetCode 323, medium, tags: depth-first search, breadth-first search, union find, graph.
-
LeetCode 1584 Min Cost to Connect All Points
Solutions for LeetCode 1584, medium, tags: array, union find, graph, minimum spanning tree.
-
LeetCode 399 Evaluate Division
Solutions for LeetCode 399, medium, tags: array, string, depth-first search, breadth-first search, union find, graph, shortest path.
-
LeetCode 547 Number of Provinces
Solutions for LeetCode 547, medium, tags: depth-first search, breadth-first search, union find, graph.
-
LeetCode 130 Surrounded Regions
Solutions for LeetCode 130, medium, tags: array, depth-first search, breadth-first search, union find, matrix.