Questions tagged [undirected-graph]

An undirected graph has edges which have no orientation. It is a mathematical concept.

Definition of an undirected graph.

271 questions
-4
votes
1 answer

Determine if there is a path between all vertex pairs on an directed graph

Question I have a question about this problem: Given an directed graph that contains N vertices and M edges, please determine that "there is a path from vertex i to vertex j for all 1 <= i, j <= N". I want to solve for N <= 500, M <= 250000. I…
square1001
  • 1,402
  • 11
  • 26
1 2 3
18
19