Tag: a-graph
All the articles with the tag "a-graph".
-
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 1162 As Far from Land as Possible
Solutions for LeetCode 1162, medium, tags: array, dynamic programming, breadth-first search, matrix.
-
LeetCode 332 Reconstruct Itinerary
Solutions for LeetCode 332, hard, tags: graph, depth-first search, Eulerian path.
-
LeetCode 934 Shortest Bridge
Solutions for LeetCode 934, medium, tags: array, depth-first search, breadth-first search, matrix.
-
LeetCode 1514 Path with Maximum Probability
Solutions for LeetCode 1514, medium, tags: graph, heap, shortest path, bellman-ford.