The maximum number of edges in an undirected disconnected graph with n vertices is (n-1)(n-2)/2. This is achieved by forming a complete graph with n-1 vertices and leaving one vertex isolated.
Conditions: The graph is undirected.; The graph is disconnected.; The graph has n vertices.
The maximum number of edges in an undirected disconnected graph with n vertices is (n-1)(n-2)/2. This is achieved by forming a complete graph with n-1 vertices and leaving one vertex isolated.
Conditions: The graph is undirected.; The graph is disconnected.; The graph has n vertices.
A strongly connected graph is a directed graph in which every pair of vertices is mutually reachable. This means that for any two vertices u and v, there is a directed path from u to v and a directed path from v to u.
Conditions: The graph is directed.; The criterion requires mutual reachability between every pair of vertices.
A strongly connected graph is a directed graph in which every pair of vertices is mutually reachable. This means that for any two vertices u and v, there is a directed path from u to v and a directed path from v to u.
Conditions: The graph is directed.; The criterion requires mutual reachability between every pair of vertices.